home *** CD-ROM | disk | FTP | other *** search
/ Hyper Stacks 1994 May / Hyper Stacks (Pacific HiTech)(1994)[Mac].iso / Utilities / Chiclette 1.04 / Chiclette 1.04
HyperCard Stack  |  1994-04-30  |  78.8 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: HyperCard Stack (archive/hypercard).

You can browse this item here: Chiclette 1.04

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) magic Supported
100% file data default
100% TrID HyperCard Stack default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 5e 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..^.STAK|........|
|00000010| 00 00 00 0a 00 01 3b 60 | 00 00 5e 00 00 00 00 00 |......;`|..^.....|
|00000020| 00 00 00 00 00 00 00 01 | 00 00 20 33 00 00 00 02 |........|.. 3....|
|00000030| 00 00 0a 6f 00 00 0b 1e | 00 00 00 00 00 00 00 00 |...o....|........|
|00000040| 00 00 0f a9 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 02 01 80 00 02 10 80 00 | 02 10 80 00 02 10 80 01 |........|........|
|00000070| 2e 30 da b9 00 00 00 00 | 00 3b 01 70 01 91 03 70 |.0......|.;.p...p|
|00000080| 00 00 00 00 02 70 03 40 | 00 00 00 00 00 00 00 00 |.....p.@|........|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 0d 37 00 00 0c cc | 01 56 02 00 00 00 00 00 |...7....|.V......|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 22 00 00 00 22 00 |........|.."...".|
|000002d0| 88 00 22 00 88 00 22 00 | cc 00 33 00 cc 00 33 00 |.."...".|..3...3.|
|000002e0| cc 88 33 22 cc 88 33 22 | ee 88 bb 22 ee 88 bb 22 |..3"..3"|..."..."|
|000002f0| ee cc bb 33 ee cc bb 33 | ff cc ff 33 ff cc ff 33 |...3...3|...3...3|
|00000300| ff ee ff bb ff ee ff bb | ff ff ff bb ff ff ff bb |........|........|
|00000310| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|00000320| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|00000330| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|00000340| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|00000350| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|00000360| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|00000370| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000380| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000390| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|000003a0| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|000003b0| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|000003c0| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|000003d0| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|000003e0| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|000003f0| ff 7f be 5d a2 41 80 00 | 26 73 d9 9c 36 67 c9 9c |...].A..|&s..6g..|
|00000400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 2d 2d d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |--......|........|
|00000610| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000620| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000630| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000640| d1 d1 d1 d1 d1 d1 d1 0d | 2d 2d 20 48 65 72 65 20 |........|-- Here |
|00000650| 77 65 20 69 6e 74 65 72 | 63 65 70 74 20 61 6c 6c |we inter|cept all|
|00000660| 20 74 68 65 20 73 74 61 | 6e 64 61 72 64 20 6d 65 | the sta|ndard me|
|00000670| 73 73 61 67 65 73 20 73 | 65 6e 74 20 62 79 20 63 |ssages s|ent by c|
|00000680| 68 69 63 6c 65 74 74 65 | 2e 0d 2d 2d 20 49 6e 74 |hiclette|..-- Int|
|00000690| 65 72 63 65 70 74 20 74 | 68 65 73 65 20 6d 65 73 |ercept t|hese mes|
|000006a0| 73 61 67 65 73 20 73 6f | 6d 65 77 68 65 72 65 20 |sages so|mewhere |
|000006b0| 69 6e 20 74 68 65 20 68 | 69 65 72 61 72 63 68 69 |in the h|ierarchi|
|000006c0| 63 61 6c 20 70 61 74 68 | 2c 0d 2d 2d 20 6f 72 20 |cal path|,.-- or |
|000006d0| 6d 6f 64 69 66 79 20 74 | 68 65 20 73 63 72 69 70 |modify t|he scrip|
|000006e0| 74 73 20 68 65 72 65 2c | 20 69 6e 20 6f 72 64 65 |ts here,| in orde|
|000006f0| 72 20 74 6f 20 6d 61 6b | 65 20 79 6f 75 72 20 70 |r to mak|e your p|
|00000700| 61 6c 65 74 74 65 20 77 | 6f 72 6b 2e 0d 2d 2d 20 |alette w|ork..-- |
|00000710| 28 6f 72 20 73 65 74 20 | 74 68 65 20 4d 44 6d 65 |(or set |the MDme|
|00000720| 73 73 2c 20 4d 53 44 6d | 65 73 73 20 61 6e 64 20 |ss, MSDm|ess and |
|00000730| 2f 20 6f 72 20 4d 55 6d | 65 73 73 20 70 72 6f 70 |/ or MUm|ess prop|
|00000740| 65 72 74 69 65 73 20 6f | 66 20 74 68 65 0d 2d 2d |erties o|f the.--|
|00000750| 20 73 63 72 69 70 74 20 | 6f 66 20 69 74 73 20 62 | script |of its b|
|00000760| 75 74 74 6f 6e 73 2e 29 | 20 20 4d 57 20 2c 20 4d |uttons.)| MW , M|
|00000770| 45 2c 20 4d 4c 20 61 64 | 64 65 64 20 66 6f 72 20 |E, ML ad|ded for |
|00000780| 31 2e 30 34 20 2d 20 67 | 65 6f 0d 2d 2d 20 49 66 |1.04 - g|eo.-- If|
|00000790| 20 74 68 65 73 65 20 6d | 65 73 73 61 67 65 73 2c | these m|essages,|
|000007a0| 20 73 65 6e 74 20 62 79 | 20 63 68 69 63 6c 65 74 | sent by| chiclet|
|000007b0| 74 65 2c 20 77 65 72 65 | 20 6e 6f 74 20 69 6e 74 |te, were| not int|
|000007c0| 65 72 63 65 70 74 2c 0d | 2d 2d 20 6e 6f 74 68 69 |ercept,.|-- nothi|
|000007d0| 6e 67 20 77 6f 75 6c 64 | 20 68 61 70 70 65 6e 2e |ng would| happen.|
|000007e0| 0d 2d 2d 20 57 65 20 69 | 6e 74 65 72 63 65 70 74 |.-- We i|ntercept|
|000007f0| 20 74 68 65 6d 20 68 65 | 72 65 2c 20 74 6f 20 62 | them he|re, to b|
|00000800| 65 20 61 62 6c 65 20 74 | 6f 20 76 65 72 69 66 79 |e able t|o verify|
|00000810| 20 74 68 65 20 73 79 6e | 74 61 78 20 6f 66 20 74 | the syn|tax of t|
|00000820| 68 65 73 65 20 73 63 72 | 69 70 74 73 0d 2d 2d 20 |hese scr|ipts.-- |
|00000830| 62 79 20 74 79 70 69 6e | 67 20 74 68 65 73 65 73 |by typin|g theses|
|00000840| 20 6d 65 73 73 61 67 65 | 73 20 69 6e 20 74 68 65 | message|s in the|
|00000850| 20 6d 65 73 73 61 67 65 | 20 62 6f 78 2c 20 77 69 | message| box, wi|
|00000860| 74 68 6f 75 74 20 67 65 | 74 74 69 6e 67 0d 2d 2d |thout ge|tting.--|
|00000870| 20 74 68 65 20 65 72 72 | 6f 72 20 6d 65 73 73 61 | the err|or messa|
|00000880| 67 65 20 3a 20 22 43 61 | 6e 27 74 20 75 6e 64 65 |ge : "Ca|n't unde|
|00000890| 72 73 74 61 6e 64 c9 22 | 0d 2d 2d 20 28 77 68 65 |rstand."|.-- (whe|
|000008a0| 6e 20 61 20 73 63 72 69 | 70 74 20 65 72 72 6f 72 |n a scri|pt error|
|000008b0| 20 6f 63 63 75 72 73 20 | 69 6e 20 61 20 73 63 72 | occurs |in a scr|
|000008c0| 69 70 74 20 63 61 6c 6c | 65 64 20 62 79 20 61 6e |ipt call|ed by an|
|000008d0| 20 65 58 74 65 72 6e 61 | 6c 2c 0d 2d 2d 20 74 68 | eXterna|l,.-- th|
|000008e0| 65 20 73 63 72 69 70 74 | 20 6a 75 73 74 20 61 62 |e script| just ab|
|000008f0| 6f 72 74 73 2c 20 6e 6f | 20 65 72 72 6f 72 6d 65 |orts, no| errorme|
|00000900| 73 73 61 67 65 20 69 73 | 20 73 65 6e 74 2e 20 57 |ssage is| sent. W|
|00000910| 68 65 6e 20 79 6f 75 20 | 73 75 73 70 65 63 74 0d |hen you |suspect.|
|00000920| 2d 2d 20 61 20 73 63 72 | 69 70 74 20 63 61 6c 6c |-- a scr|ipt call|
|00000930| 65 64 20 62 79 20 61 6e | 20 65 58 74 65 72 6e 61 |ed by an| eXterna|
|00000940| 6c 2c 20 63 61 6c 6c 20 | 69 74 20 66 72 6f 6d 20 |l, call |it from |
|00000950| 74 68 65 20 6d 65 73 73 | 61 67 65 20 62 6f 78 2c |the mess|age box,|
|00000960| 0d 2d 2d 20 48 79 70 65 | 72 43 61 72 64 20 77 69 |.-- Hype|rCard wi|
|00000970| 6c 6c 20 74 65 6c 6c 20 | 79 6f 75 20 6f 66 20 61 |ll tell |you of a|
|00000980| 6e 79 20 70 72 6f 62 6c | 65 6d 20 6f 66 20 73 79 |ny probl|em of sy|
|00000990| 6e 74 61 78 2e 29 0d 2d | 2d d1 d1 d1 d1 d1 d1 d1 |ntax.).-|-.......|
|000009a0| d1 d1 d1 d1 d1 d1 d1 0d | 2d 2d 20 4d 44 2c 20 4d |........|-- MD, M|
|000009b0| 53 44 2c 20 4d 55 20 2c | 4d 57 20 2c 4d 45 20 2c |SD, MU ,|MW ,ME ,|
|000009c0| 4d 4c 20 3a 0d 2d 2d 20 | 20 20 6d 65 73 73 61 67 |ML :.-- | messag|
|000009d0| 65 73 20 73 65 6e 74 20 | 6f 6e 20 6d 6f 75 73 65 |es sent |on mouse|
|000009e0| 44 6f 77 6e 2c 20 6d 6f | 75 73 65 53 74 69 6c 6c |Down, mo|useStill|
|000009f0| 44 6f 77 6e 20 61 6e 64 | 20 6d 6f 75 73 65 55 70 |Down and| mouseUp|
|00000a00| 0d 2d 2d 20 20 20 73 6f | 6d 65 77 68 65 72 65 20 |.-- so|mewhere |
|00000a10| 69 6e 73 69 64 65 20 74 | 68 65 20 63 68 69 63 20 |inside t|he chic |
|00000a20| 70 61 6c 65 74 74 65 2e | 0d 2d 2d 20 20 20 57 69 |palette.|.-- Wi|
|00000a30| 6e 64 4e 61 6d 65 20 3a | 20 6e 61 6d 65 20 6f 66 |ndName :| name of|
|00000a40| 20 74 68 65 20 70 61 6c | 65 74 74 65 0d 2d 2d 20 | the pal|ette.-- |
|00000a50| 20 20 62 74 6e 4e 61 6d | 65 20 3a 20 6e 61 6d 65 | btnNam|e : name|
|00000a60| 20 6f 66 20 74 68 65 20 | 62 75 74 74 6f 6e 20 28 | of the |button (|
|00000a70| 6f 72 20 65 6d 70 74 79 | 20 69 66 20 6f 75 74 73 |or empty| if outs|
|00000a80| 69 64 65 20 74 68 65 20 | 62 75 74 74 6f 6e 73 29 |ide the |buttons)|
|00000a90| 0d 2d 2d 20 20 20 62 74 | 6e 4e 75 6d 20 3a 20 6e |.-- bt|nNum : n|
|00000aa0| 75 6d 62 65 72 20 6f 66 | 20 74 68 65 20 62 75 74 |umber of| the but|
|00000ab0| 74 6f 6e 20 28 6f 72 20 | 65 6d 70 74 79 20 69 66 |ton (or |empty if|
|00000ac0| 20 6f 75 74 73 69 64 65 | 20 74 68 65 20 62 75 74 | outside| the but|
|00000ad0| 74 6f 6e 73 29 0d 0d 4f | 6e 20 4d 44 20 57 69 6e |tons)..O|n MD Win|
|00000ae0| 64 4e 61 6d 65 2c 62 74 | 6e 4e 61 6d 65 2c 62 74 |dName,bt|nName,bt|
|00000af0| 6e 4e 75 6d 0d 65 6e 64 | 20 4d 44 0d 0d 4f 6e 20 |nNum.end| MD..On |
|00000b00| 4d 53 44 20 57 69 6e 64 | 4e 61 6d 65 2c 62 74 6e |MSD Wind|Name,btn|
|00000b10| 4e 61 6d 65 2c 62 74 6e | 4e 75 6d 0d 65 6e 64 20 |Name,btn|Num.end |
|00000b20| 4d 53 44 0d 0d 4f 6e 20 | 4d 55 20 57 69 6e 64 4e |MSD..On |MU WindN|
|00000b30| 61 6d 65 2c 62 74 6e 4e | 61 6d 65 2c 62 74 6e 4e |ame,btnN|ame,btnN|
|00000b40| 75 6d 0d 65 6e 64 20 4d | 55 0d 0d 6f 6e 20 4d 57 |um.end M|U..on MW|
|00000b50| 20 57 69 6e 64 4e 61 6d | 65 2c 62 74 6e 4e 61 6d | WindNam|e,btnNam|
|00000b60| 65 2c 62 74 6e 4e 75 6d | 0d 65 6e 64 20 4d 57 0d |e,btnNum|.end MW.|
|00000b70| 0d 6f 6e 20 4d 45 20 57 | 69 6e 64 4e 61 6d 65 2c |.on ME W|indName,|
|00000b80| 62 74 6e 4e 61 6d 65 2c | 62 74 6e 4e 75 6d 0d 65 |btnName,|btnNum.e|
|00000b90| 6e 64 20 4d 45 0d 0d 6f | 6e 20 4d 4c 20 57 69 6e |nd ME..o|n ML Win|
|00000ba0| 64 4e 61 6d 65 2c 62 74 | 6e 4e 61 6d 65 2c 62 74 |dName,bt|nName,bt|
|00000bb0| 6e 4e 75 6d 0d 65 6e 64 | 20 4d 4c 0d 0d 2d 2d d1 |nNum.end| ML..--.|
|00000bc0| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 0d 2d 2d |........|......--|
|00000bd0| 20 6f 70 65 6e 43 68 69 | 63 6c 65 74 74 65 2c 20 | openChi|clette, |
|00000be0| 63 6c 6f 73 65 43 68 69 | 63 6c 65 74 74 65 20 3a |closeChi|clette :|
|00000bf0| 0d 2d 2d 20 20 20 57 69 | 6e 64 4e 61 6d 65 20 3a |.-- Wi|ndName :|
|00000c00| 20 6e 61 6d 65 20 6f 66 | 20 74 68 65 20 70 61 6c | name of| the pal|
|00000c10| 65 74 74 65 0d 2d 2d 20 | 20 20 77 69 6e 64 49 64 |ette.-- | windId|
|00000c20| 20 3a 20 69 66 20 79 6f | 75 20 61 72 65 20 72 75 | : if yo|u are ru|
|00000c30| 6e 6e 69 6e 67 20 48 43 | 20 32 2e 31 20 6f 72 20 |nning HC| 2.1 or |
|00000c40| 6c 61 74 65 72 2c 20 74 | 68 65 20 49 64 20 6f 66 |later, t|he Id of|
|00000c50| 20 74 68 65 20 77 69 6e | 64 6f 77 0d 2d 2d 20 20 | the win|dow.-- |
|00000c60| 20 20 20 20 20 20 20 20 | 20 20 69 6e 20 48 43 20 | | in HC |
|00000c70| 32 2e 30 2c 20 75 73 65 | 6c 65 73 73 20 70 61 72 |2.0, use|less par|
|00000c80| 61 6d 65 74 65 72 0d 4f | 6e 20 6f 70 65 6e 43 68 |ameter.O|n openCh|
|00000c90| 69 63 6c 65 74 74 65 20 | 57 69 6e 64 4e 61 6d 65 |iclette |WindName|
|00000ca0| 2c 77 69 6e 64 49 64 0d | 2d 2d 20 52 51 20 3a 20 |,windId.|-- RQ : |
|00000cb0| 77 69 6e 64 6e 61 6d 65 | 20 69 73 20 74 68 65 20 |windname| is the |
|00000cc0| 66 69 72 73 74 20 6c 69 | 6e 65 20 6f 66 20 74 68 |first li|ne of th|
|00000cd0| 65 20 77 69 6e 64 6f 77 | 73 0d 2d 2d 20 28 69 74 |e window|s.-- (it|
|00000ce0| 20 69 73 20 74 68 65 20 | 75 70 70 65 72 6d 6f 73 | is the |uppermos|
|00000cf0| 74 20 77 69 6e 64 6f 77 | 29 0d 65 6e 64 20 6f 70 |t window|).end op|
|00000d00| 65 6e 43 68 69 63 6c 65 | 74 74 65 0d 0d 4f 6e 20 |enChicle|tte..On |
|00000d10| 63 6c 6f 73 65 43 68 69 | 63 6c 65 74 74 65 20 57 |closeChi|clette W|
|00000d20| 69 6e 64 4e 61 6d 65 2c | 77 69 6e 64 49 64 0d 2d |indName,|windId.-|
|00000d30| 2d 20 65 76 65 6e 74 75 | 61 6c 6c 79 20 73 65 74 |- eventu|ally set|
|00000d40| 20 74 68 65 20 6c 6f 6f | 6b 20 6f 66 20 74 68 65 | the loo|k of the|
|00000d50| 20 63 68 69 63 6c 65 74 | 74 65 20 65 64 69 74 6f | chiclet|te edito|
|00000d60| 72 20 3a 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |r :.if t|here is |
|00000d70| 61 20 77 69 6e 64 6f 77 | 20 22 43 68 69 63 6c 65 |a window| "Chicle|
|00000d80| 74 74 65 20 45 64 69 74 | 6f 72 22 20 74 68 65 6e |tte Edit|or" then|
|00000d90| 0d 69 66 20 57 69 6e 64 | 4e 61 6d 65 20 3d 20 42 |.if Wind|Name = B|
|00000da0| 74 6e 31 4e 61 6d 65 20 | 6f 66 20 77 69 6e 64 6f |tn1Name |of windo|
|00000db0| 77 20 22 43 68 69 63 6c | 65 74 74 65 20 45 64 69 |w "Chicl|ette Edi|
|00000dc0| 74 6f 72 22 20 74 68 65 | 6e 0d 69 66 20 57 69 6e |tor" the|n.if Win|
|00000dd0| 64 4e 61 6d 65 20 ad 20 | 22 43 68 69 63 6c 65 74 |dName . |"Chiclet|
|00000de0| 74 65 20 45 64 69 74 6f | 72 22 20 74 68 65 6e 0d |te Edito|r" then.|
|00000df0| 69 6e 69 74 45 64 69 74 | 6f 72 0d 65 6e 64 20 69 |initEdit|or.end i|
|00000e00| 66 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |f.end if|.end if.|
|00000e10| 65 6e 64 20 63 6c 6f 73 | 65 43 68 69 63 6c 65 74 |end clos|eChiclet|
|00000e20| 74 65 0d 2d 2d d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |te.--...|........|
|00000e30| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000e40| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000e50| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000e60| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 0d 66 75 6e 63 74 |........|...funct|
|00000e70| 69 6f 6e 20 50 61 6c 54 | 6f 44 65 66 20 77 69 6e |ion PalT|oDef win|
|00000e80| 64 4e 61 6d 65 0d 2d 2d | 20 72 65 74 75 72 6e 73 |dName.--| returns|
|00000e90| 20 74 68 65 20 64 65 66 | 69 6e 69 74 69 6f 6e 20 | the def|inition |
|00000ea0| 6f 66 20 74 68 65 20 6f | 70 65 6e 65 64 20 70 61 |of the o|pened pa|
|00000eb0| 6c 65 74 74 65 20 77 69 | 6e 64 4e 61 6d 65 2c 20 |lette wi|ndName, |
|00000ec0| 6f 72 20 22 22 0d 73 65 | 74 20 63 75 72 73 6f 72 |or "".se|t cursor|
|00000ed0| 20 74 6f 20 62 75 73 79 | 0d 63 68 65 63 6b 6f 70 | to busy|.checkop|
|00000ee0| 65 6e 65 64 50 61 6c 65 | 74 74 65 20 77 69 6e 64 |enedPale|tte wind|
|00000ef0| 4e 61 6d 65 0d 72 65 74 | 75 72 6e 20 64 65 66 69 |Name.ret|urn defi|
|00000f00| 6e 69 74 69 6f 6e 20 6f | 66 20 77 69 6e 64 6f 77 |nition o|f window|
|00000f10| 20 77 69 6e 64 4e 61 6d | 65 20 2d 2d 20 22 64 65 | windNam|e -- "de|
|00000f20| 66 69 6e 69 74 69 6f 6e | 22 2c 20 6f 72 20 22 64 |finition|", or "d|
|00000f30| 65 66 22 0d 65 6e 64 20 | 50 61 6c 54 6f 44 65 66 |ef".end |PalToDef|
|00000f40| 0d 2d 2d d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |.--.....|........|
|00000f50| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000f60| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000f70| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000f80| d1 d1 d1 d1 d1 d1 d1 d1 | 0d 2d 2d 20 50 41 4c 45 |........|.-- PALE|
|00000f90| 54 54 45 20 22 43 68 69 | 63 6c 65 74 74 65 20 45 |TTE "Chi|clette E|
|00000fa0| 64 69 74 6f 72 22 0d 6f | 6e 20 43 68 69 63 45 64 |ditor".o|n ChicEd|
|00000fb0| 69 74 20 77 69 6e 64 4e | 61 6d 65 0d 2d 2d 20 6f |it windN|ame.-- o|
|00000fc0| 70 65 6e 20 74 68 65 20 | 22 43 68 69 63 6c 65 74 |pen the |"Chiclet|
|00000fd0| 74 65 20 45 64 69 74 6f | 72 22 20 74 6f 20 65 64 |te Edito|r" to ed|
|00000fe0| 69 74 20 74 68 65 20 70 | 61 6c 65 74 74 65 20 77 |it the p|alette w|
|00000ff0| 69 6e 64 4e 61 6d 65 0d | 2d 2d 20 77 69 6e 64 4e |indName.|-- windN|
|00001000| 61 6d 65 20 63 61 6e 20 | 62 65 20 65 6d 70 74 79 |ame can |be empty|
|00001010| 20 28 6e 6f 20 70 72 65 | 73 65 6c 65 63 74 69 6f | (no pre|selectio|
|00001020| 6e 20 6f 66 20 74 68 65 | 20 70 61 6c 65 74 74 65 |n of the| palette|
|00001030| 20 74 6f 20 65 64 69 74 | 29 0d 2d 2d 20 69 66 20 | to edit|).-- if |
|00001040| 77 69 6e 64 4e 61 6d 65 | 20 ad 20 22 22 2c 20 63 |windName| . "", c|
|00001050| 61 6c 6c 73 20 74 68 65 | 20 68 61 6e 64 6c 65 72 |alls the| handler|
|00001060| 20 69 6e 69 74 45 64 69 | 74 6f 72 0d 67 6c 6f 62 | initEdi|tor.glob|
|00001070| 61 6c 20 63 68 69 63 45 | 64 69 74 47 6c 6f 62 0d |al chicE|ditGlob.|
|00001080| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 77 69 |if there| is a wi|
|00001090| 6e 64 6f 77 20 22 43 68 | 69 63 6c 65 74 74 65 20 |ndow "Ch|iclette |
|000010a0| 45 64 69 74 6f 72 22 20 | 74 68 65 6e 0d 61 6e 73 |Editor" |then.ans|
|000010b0| 77 65 72 20 22 54 68 65 | 20 43 68 69 63 6c 65 74 |wer "The| Chiclet|
|000010c0| 74 65 20 45 64 69 74 6f | 72 20 69 73 20 61 6c 72 |te Edito|r is alr|
|000010d0| 65 61 64 79 20 6f 70 65 | 6e 65 64 2e 22 0d 65 78 |eady ope|ned.".ex|
|000010e0| 69 74 20 43 68 69 63 45 | 64 69 74 0d 65 6e 64 20 |it ChicE|dit.end |
|000010f0| 69 66 0d 70 75 74 20 22 | 43 68 69 63 6c 65 74 74 |if.put "|Chiclett|
|00001100| 65 20 45 64 69 74 6f 72 | 22 20 69 6e 74 6f 20 63 |e Editor|" into c|
|00001110| 0d 69 66 20 63 68 69 63 | 45 64 69 74 47 6c 6f 62 |.if chic|EditGlob|
|00001120| 20 3d 20 22 22 20 74 68 | 65 6e 0d 73 65 74 20 63 | = "" th|en.set c|
|00001130| 75 72 73 6f 72 20 74 6f | 20 77 61 74 63 68 0d 77 |ursor to| watch.w|
|00001140| 0d 70 75 73 68 20 63 64 | 0d 67 6f 20 63 64 20 63 |.push cd|.go cd c|
|00001150| 20 6f 66 20 73 74 61 63 | 6b 20 73 68 6f 72 74 20 | of stac|k short |
|00001160| 6e 61 6d 65 20 6f 66 20 | 6d 65 0d 70 75 74 20 66 |name of |me.put f|
|00001170| 6c 64 20 22 44 65 66 69 | 6e 69 74 69 6f 6e 22 20 |ld "Defi|nition" |
|00001180| 69 6e 74 6f 20 63 68 69 | 63 45 64 69 74 47 6c 6f |into chi|cEditGlo|
|00001190| 62 0d 70 6f 70 20 63 64 | 0d 65 6e 64 20 69 66 0d |b.pop cd|.end if.|
|000011a0| 63 68 69 63 6c 65 74 74 | 65 20 63 68 69 63 45 64 |chiclett|e chicEd|
|000011b0| 69 74 47 6c 6f 62 20 2d | 2d 20 6f 70 65 6e 20 74 |itGlob -|- open t|
|000011c0| 68 65 20 65 64 69 74 6f | 72 20 77 69 74 68 20 64 |he edito|r with d|
|000011d0| 65 66 61 75 6c 74 20 76 | 61 6c 75 65 20 3a 20 68 |efault v|alue : h|
|000011e0| 69 64 64 65 6e 2c 20 69 | 6e 20 73 74 61 63 6b 20 |idden, i|n stack |
|000011f0| 22 43 68 69 63 6c 65 74 | 74 65 22 2c 20 6e 6f 20 |"Chiclet|te", no |
|00001200| 70 72 65 73 65 6c 65 63 | 74 69 6f 6e 0d 69 66 20 |preselec|tion.if |
|00001210| 6f 74 68 65 72 53 74 61 | 63 6b 28 29 20 74 68 65 |otherSta|ck() the|
|00001220| 6e 0d 43 68 69 63 45 64 | 69 74 4c 6f 6f 6b 20 66 |n.ChicEd|itLook f|
|00001230| 61 6c 73 65 0d 2d 2d 20 | 65 6c 73 65 20 64 65 66 |alse.-- |else def|
|00001240| 61 75 6c 74 20 76 61 6c | 75 65 20 69 73 20 4f 4b |ault val|ue is OK|
|00001250| 20 3a 20 6e 6f 20 6e 65 | 65 64 20 74 6f 20 63 61 | : no ne|ed to ca|
|00001260| 6c 6c 20 43 68 69 63 45 | 64 69 74 4c 6f 6f 6b 0d |ll ChicE|ditLook.|
|00001270| 65 6e 64 20 69 66 0d 69 | 66 20 77 69 6e 64 4e 61 |end if.i|f windNa|
|00001280| 6d 65 20 ad 20 22 22 20 | 74 68 65 6e 0d 49 6e 69 |me . "" |then.Ini|
|00001290| 74 45 64 69 74 6f 72 20 | 77 69 6e 64 4e 61 6d 65 |tEditor |windName|
|000012a0| 0d 65 6c 73 65 0d 73 68 | 6f 77 20 77 69 6e 64 6f |.else.sh|ow windo|
|000012b0| 77 20 22 43 68 69 63 6c | 65 74 74 65 20 45 64 69 |w "Chicl|ette Edi|
|000012c0| 74 6f 72 22 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |tor".end| if.end |
|000012d0| 43 68 69 63 45 64 69 74 | 0d 0d 6f 6e 20 63 68 69 |ChicEdit|..on chi|
|000012e0| 63 45 64 69 74 4c 6f 6f | 6b 20 68 65 72 65 0d 2d |cEditLoo|k here.-|
|000012f0| 2d 20 69 6e 20 74 68 65 | 20 43 68 69 63 6c 65 74 |- in the| Chiclet|
|00001300| 74 65 20 73 74 61 63 6b | 2c 20 74 68 65 20 6f 6e |te stack|, the on|
|00001310| 6c 79 20 77 61 79 20 74 | 6f 20 63 68 6f 6f 73 65 |ly way t|o choose|
|00001320| 20 74 68 65 20 70 61 6c | 65 74 74 65 20 74 6f 20 | the pal|ette to |
|00001330| 65 64 69 74 0d 2d 2d 20 | 69 73 20 74 6f 20 67 6f |edit.-- |is to go|
|00001340| 20 74 6f 20 74 68 65 20 | 63 6f 72 72 73 70 6f 6e | to the |corrspon|
|00001350| 64 69 6e 67 20 63 61 72 | 64 2e 0d 2d 2d 20 49 6e |ding car|d..-- In|
|00001360| 20 6f 74 68 65 72 73 20 | 73 74 61 63 6b 73 2c 20 | others |stacks, |
|00001370| 79 6f 75 20 63 61 6e 20 | 63 68 6f 6f 73 65 20 61 |you can |choose a|
|00001380| 6e 79 20 6f 70 65 6e 65 | 64 20 63 68 69 63 20 70 |ny opene|d chic p|
|00001390| 61 6c 65 74 74 65 20 74 | 6f 20 65 64 69 74 0d 2d |alette t|o edit.-|
|000013a0| 2d 20 68 65 72 65 20 69 | 73 20 61 20 62 6f 6f 6c |- here i|s a bool|
|000013b0| 65 61 6e 2e 20 54 72 75 | 65 20 69 66 20 74 68 69 |ean. Tru|e if thi|
|000013c0| 73 20 73 74 61 63 6b 20 | 69 73 20 43 68 69 63 6c |s stack |is Chicl|
|000013d0| 65 74 74 65 2e 0d 70 75 | 74 20 22 43 68 69 63 6c |ette..pu|t "Chicl|
|000013e0| 65 74 74 65 20 45 64 69 | 74 6f 72 22 20 69 6e 74 |ette Edi|tor" int|
|000013f0| 6f 20 63 0d 69 66 20 68 | 65 72 65 20 69 73 20 74 |o c.if h|ere is t|
|00001400| 72 75 65 20 74 68 65 6e | 0d 73 65 74 20 42 74 6e |rue then|.set Btn|
|00001410| 31 4d 44 6d 65 73 73 20 | 6f 66 20 77 69 6e 64 6f |1MDmess |of windo|
|00001420| 77 20 63 20 74 6f 20 22 | 22 20 2d 2d 20 6e 61 6d |w c to "|" -- nam|
|00001430| 65 20 6f 66 20 70 61 6c | 65 74 74 65 0d 73 65 74 |e of pal|ette.set|
|00001440| 20 42 74 6e 31 4d 55 6d | 65 73 73 20 6f 66 20 77 | Btn1MUm|ess of w|
|00001450| 69 6e 64 6f 77 20 63 20 | 74 6f 20 22 22 0d 73 65 |indow c |to "".se|
|00001460| 74 20 42 74 6e 31 53 74 | 79 6c 65 20 6f 66 20 77 |t Btn1St|yle of w|
|00001470| 69 6e 64 6f 77 20 63 20 | 74 6f 20 22 72 65 63 74 |indow c |to "rect|
|00001480| 61 6e 67 6c 65 22 0d 73 | 65 74 20 42 74 6e 32 76 |angle".s|et Btn2v|
|00001490| 69 73 69 62 6c 65 20 6f | 66 20 77 69 6e 64 6f 77 |isible o|f window|
|000014a0| 20 63 20 74 6f 20 66 61 | 6c 73 65 20 2d 2d 20 70 | c to fa|lse -- p|
|000014b0| 75 6c 6c 64 6f 77 6e 20 | 61 72 72 6f 77 0d 73 65 |ulldown |arrow.se|
|000014c0| 74 20 42 74 6e 31 32 4e | 61 6d 65 20 6f 66 20 77 |t Btn12N|ame of w|
|000014d0| 69 6e 64 6f 77 20 63 20 | 74 6f 20 22 45 64 69 74 |indow c |to "Edit|
|000014e0| 69 6e 67 20 70 61 6c 65 | 74 74 65 20 3a 22 0d 65 |ing pale|tte :".e|
|000014f0| 6c 73 65 0d 69 66 20 74 | 68 65 20 76 65 72 73 69 |lse.if t|he versi|
|00001500| 6f 6e 20 20 3c 20 32 2e | 31 20 74 68 65 6e 0d 73 |on < 2.|1 then.s|
|00001510| 65 74 20 42 74 6e 31 4d | 55 6d 65 73 73 20 6f 66 |et Btn1M|Umess of|
|00001520| 20 77 69 6e 64 6f 77 20 | 63 20 74 6f 20 22 41 73 | window |c to "As|
|00001530| 6b 50 61 6c 4e 61 6d 65 | 22 0d 73 65 74 20 42 74 |kPalName|".set Bt|
|00001540| 6e 31 32 4e 61 6d 65 20 | 6f 66 20 77 69 6e 64 6f |n12Name |of windo|
|00001550| 77 20 63 20 74 6f 20 22 | 43 6c 69 63 6b 20 74 6f |w c to "|Click to|
|00001560| 20 63 68 6f 6f 73 65 20 | 61 20 70 61 6c 65 74 74 | choose |a palett|
|00001570| 65 20 74 6f 20 65 64 69 | 74 20 3a 22 0d 65 6c 73 |e to edi|t :".els|
|00001580| 65 0d 73 65 74 20 42 74 | 6e 31 4d 44 6d 65 73 73 |e.set Bt|n1MDmess|
|00001590| 20 6f 66 20 77 69 6e 64 | 6f 77 20 63 20 74 6f 20 | of wind|ow c to |
|000015a0| 22 50 6f 70 55 70 50 61 | 6c 4e 61 6d 65 73 22 20 |"PopUpPa|lNames" |
|000015b0| 2d 2d 20 6e 61 6d 65 20 | 6f 66 20 70 61 6c 65 74 |-- name |of palet|
|000015c0| 74 65 0d 73 65 74 20 42 | 74 6e 31 53 74 79 6c 65 |te.set B|tn1Style|
|000015d0| 20 6f 66 20 77 69 6e 64 | 6f 77 20 63 20 74 6f 20 | of wind|ow c to |
|000015e0| 22 73 68 61 64 6f 77 22 | 0d 73 65 74 20 42 74 6e |"shadow"|.set Btn|
|000015f0| 32 76 69 73 69 62 6c 65 | 20 6f 66 20 77 69 6e 64 |2visible| of wind|
|00001600| 6f 77 20 63 20 74 6f 20 | 74 72 75 65 20 2d 2d 20 |ow c to |true -- |
|00001610| 70 75 6c 6c 64 6f 77 6e | 20 61 72 72 6f 77 0d 73 |pulldown| arrow.s|
|00001620| 65 74 20 42 74 6e 31 32 | 4e 61 6d 65 20 6f 66 20 |et Btn12|Name of |
|00001630| 77 69 6e 64 6f 77 20 63 | 20 74 6f 20 22 48 6f 6c |window c| to "Hol|
|00001640| 64 20 64 6f 77 6e 20 74 | 6f 20 63 68 6f 6f 73 65 |d down t|o choose|
|00001650| 20 61 20 70 61 6c 65 74 | 74 65 20 74 6f 20 65 64 | a palet|te to ed|
|00001660| 69 74 20 3a 22 0d 65 6e | 64 20 69 66 0d 65 6e 64 |it :".en|d if.end|
|00001670| 20 69 66 0d 65 6e 64 20 | 63 68 69 63 45 64 69 74 | if.end |chicEdit|
|00001680| 4c 6f 6f 6b 0d 0d 6f 6e | 20 49 6e 69 74 45 64 69 |Look..on| InitEdi|
|00001690| 74 6f 72 20 77 69 6e 64 | 4e 61 6d 65 0d 2d 2d 20 |tor wind|Name.-- |
|000016a0| 73 65 74 20 74 68 65 20 | 6c 6f 6f 6b 20 6f 66 20 |set the |look of |
|000016b0| 74 68 65 20 70 61 6c 65 | 74 74 65 20 43 68 69 63 |the pale|tte Chic|
|000016c0| 6c 65 74 74 65 20 45 64 | 69 74 6f 72 0d 2d 2d 20 |lette Ed|itor.-- |
|000016d0| 74 6f 20 65 64 69 74 20 | 74 68 65 20 70 61 6c 65 |to edit |the pale|
|000016e0| 74 74 65 20 77 69 6e 64 | 4e 61 6d 65 20 61 6e 64 |tte wind|Name and|
|000016f0| 20 73 68 6f 77 20 69 74 | 0d 2d 2d 20 77 69 6e 64 | show it|.-- wind|
|00001700| 4e 61 6d 65 20 63 61 6e | 20 62 65 20 65 6d 70 74 |Name can| be empt|
|00001710| 79 20 28 6e 6f 20 70 72 | 65 73 65 6c 65 63 74 65 |y (no pr|eselecte|
|00001720| 64 20 70 61 6c 65 74 74 | 65 20 74 6f 20 65 64 69 |d palett|e to edi|
|00001730| 74 29 0d 2d 2d 20 69 66 | 20 77 69 6e 64 4e 61 6d |t).-- if| windNam|
|00001740| 65 20 69 73 20 6e 6f 74 | 20 61 20 63 68 69 63 20 |e is not| a chic |
|00001750| 70 61 6c 65 74 74 65 2c | 20 77 69 6c 6c 20 61 62 |palette,| will ab|
|00001760| 6f 72 74 2e 20 4e 6f 74 | 20 74 6f 6f 20 62 61 64 |ort. Not| too bad|
|00001770| 20 3a 0d 2d 2d 20 74 68 | 69 73 20 63 61 6e 20 68 | :.-- th|is can h|
|00001780| 61 70 70 65 6e 20 6f 6e | 6c 79 20 77 69 74 68 20 |appen on|ly with |
|00001790| 48 43 20 32 2e 30 20 28 | 77 69 74 68 20 32 2e 31 |HC 2.0 (|with 2.1|
|000017a0| 2c 20 77 65 20 63 61 6e | 0d 2d 2d 20 63 68 65 63 |, we can|.-- chec|
|000017b0| 6b 20 74 68 65 20 6f 77 | 6e 65 72 20 62 65 66 6f |k the ow|ner befo|
|000017c0| 72 65 20 63 61 6c 6c 69 | 6e 67 20 74 68 69 73 20 |re calli|ng this |
|000017d0| 68 61 6e 64 6c 65 72 29 | 0d 0d 70 75 74 20 76 69 |handler)|..put vi|
|000017e0| 73 69 62 6c 65 20 6f 66 | 20 77 69 6e 64 6f 77 20 |sible of| window |
|000017f0| 22 43 68 69 63 6c 65 74 | 74 65 20 45 64 69 74 6f |"Chiclet|te Edito|
|00001800| 72 22 20 69 6e 74 6f 20 | 76 69 73 0d 69 66 20 76 |r" into |vis.if v|
|00001810| 69 73 20 74 68 65 6e 20 | 73 65 6e 64 20 22 4c 6f |is then |send "Lo|
|00001820| 63 6b 53 63 72 65 65 6e | 22 20 74 6f 20 77 69 6e |ckScreen|" to win|
|00001830| 64 6f 77 20 22 43 68 69 | 63 6c 65 74 74 65 20 45 |dow "Chi|clette E|
|00001840| 64 69 74 6f 72 22 0d 0d | 73 65 74 20 42 74 6e 31 |ditor"..|set Btn1|
|00001850| 4e 61 6d 65 20 6f 66 20 | 77 69 6e 64 6f 77 20 22 |Name of |window "|
|00001860| 43 68 69 63 6c 65 74 74 | 65 20 45 64 69 74 6f 72 |Chiclett|e Editor|
|00001870| 22 20 74 6f 20 77 69 6e | 64 4e 61 6d 65 0d 69 66 |" to win|dName.if|
|00001880| 20 77 69 6e 64 4e 61 6d | 65 20 3d 20 22 22 20 c2 | windNam|e = "" .|
|00001890| 0d 6f 72 20 72 65 74 75 | 72 6e 20 26 20 77 69 6e |.or retu|rn & win|
|000018a0| 64 4e 61 6d 65 20 26 20 | 72 65 74 75 72 6e 20 69 |dName & |return i|
|000018b0| 73 20 6e 6f 74 20 69 6e | 20 72 65 74 75 72 6e 20 |s not in| return |
|000018c0| 26 20 74 68 65 20 77 69 | 6e 64 6f 77 73 20 74 68 |& the wi|ndows th|
|000018d0| 65 6e 0d 70 75 74 20 2d | 31 20 69 6e 74 6f 20 6e |en.put -|1 into n|
|000018e0| 0d 65 6c 73 65 0d 70 75 | 74 20 6e 75 6d 62 65 72 |.else.pu|t number|
|000018f0| 4f 66 42 74 6e 73 20 6f | 66 20 77 69 6e 64 6f 77 |OfBtns o|f window|
|00001900| 20 77 69 6e 64 4e 61 6d | 65 20 69 6e 74 6f 20 6e | windNam|e into n|
|00001910| 20 2d 2d 20 61 62 6f 72 | 74 20 69 66 20 6e 6f 74 | -- abor|t if not|
|00001920| 20 61 20 63 68 69 63 20 | 70 61 6c 65 74 74 65 0d | a chic |palette.|
|00001930| 65 6e 64 20 69 66 0d 0d | 2d 2d 20 65 6e 61 62 6c |end if..|-- enabl|
|00001940| 65 20 2f 20 64 69 73 61 | 62 6c 65 20 22 73 65 74 |e / disa|ble "set|
|00001950| 20 70 72 6f 70 65 72 74 | 69 65 73 20 6f 66 20 70 | propert|ies of p|
|00001960| 61 6c 65 74 74 65 22 0d | 67 65 74 20 6e 20 3c 20 |alette".|get n < |
|00001970| 30 0d 73 65 74 20 42 74 | 6e 33 44 69 73 61 62 6c |0.set Bt|n3Disabl|
|00001980| 65 20 6f 66 20 77 69 6e | 64 6f 77 20 22 43 68 69 |e of win|dow "Chi|
|00001990| 63 6c 65 74 74 65 20 45 | 64 69 74 6f 72 22 20 74 |clette E|ditor" t|
|000019a0| 6f 20 69 74 0d 73 65 74 | 20 42 74 6e 33 47 72 61 |o it.set| Btn3Gra|
|000019b0| 79 65 64 4f 75 74 20 6f | 66 20 77 69 6e 64 6f 77 |yedOut o|f window|
|000019c0| 20 22 43 68 69 63 6c 65 | 74 74 65 20 45 64 69 74 | "Chicle|tte Edit|
|000019d0| 6f 72 22 20 74 6f 20 69 | 74 0d 73 65 74 20 42 74 |or" to i|t.set Bt|
|000019e0| 6e 34 44 69 73 61 62 6c | 65 20 6f 66 20 77 69 6e |n4Disabl|e of win|
|000019f0| 64 6f 77 20 22 43 68 69 | 63 6c 65 74 74 65 20 45 |dow "Chi|clette E|
|00001a00| 64 69 74 6f 72 22 20 74 | 6f 20 69 74 0d 73 65 74 |ditor" t|o it.set|
|00001a10| 20 42 74 6e 34 47 72 61 | 79 65 64 4f 75 74 20 6f | Btn4Gra|yedOut o|
|00001a20| 66 20 77 69 6e 64 6f 77 | 20 22 43 68 69 63 6c 65 |f window| "Chicle|
|00001a30| 74 74 65 20 45 64 69 74 | 6f 72 22 20 74 6f 20 69 |tte Edit|or" to i|
|00001a40| 74 0d 2d 2d 0d 67 65 74 | 20 6e 20 b2 20 30 0d 2d |t.--.get| n . 0.-|
|00001a50| 2d 20 6e 75 6d 62 65 72 | 20 61 6e 64 20 6e 61 6d |- number| and nam|
|00001a60| 65 20 6f 66 20 65 64 69 | 74 65 64 20 62 75 74 74 |e of edi|ted butt|
|00001a70| 6f 6e 0d 69 66 20 69 74 | 20 74 68 65 6e 0d 73 65 |on.if it| then.se|
|00001a80| 74 20 42 74 6e 35 4e 61 | 6d 65 20 6f 66 20 77 69 |t Btn5Na|me of wi|
|00001a90| 6e 64 6f 77 20 22 43 68 | 69 63 6c 65 74 74 65 20 |ndow "Ch|iclette |
|00001aa0| 45 64 69 74 6f 72 22 20 | 74 6f 20 22 22 20 2d 2d |Editor" |to "" --|
|00001ab0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 65 64 69 74 65 | number |of edite|
|00001ac0| 64 20 62 74 6e 0d 73 65 | 74 20 42 74 6e 38 4e 61 |d btn.se|t Btn8Na|
|00001ad0| 6d 65 20 6f 66 20 77 69 | 6e 64 6f 77 20 22 43 68 |me of wi|ndow "Ch|
|00001ae0| 69 63 6c 65 74 74 65 20 | 45 64 69 74 6f 72 22 20 |iclette |Editor" |
|00001af0| 74 6f 20 22 22 20 2d 2d | 20 6e 61 6d 65 20 6f 66 |to "" --| name of|
|00001b00| 20 65 64 69 74 65 64 20 | 62 74 6e 0d 65 6c 73 65 | edited |btn.else|
|00001b10| 0d 73 65 74 20 42 74 6e | 35 4e 61 6d 65 20 6f 66 |.set Btn|5Name of|
|00001b20| 20 77 69 6e 64 6f 77 20 | 22 43 68 69 63 6c 65 74 | window |"Chiclet|
|00001b30| 74 65 20 45 64 69 74 6f | 72 22 20 74 6f 20 22 31 |te Edito|r" to "1|
|00001b40| 22 0d 73 65 74 20 42 74 | 6e 38 4e 61 6d 65 20 6f |".set Bt|n8Name o|
|00001b50| 66 20 77 69 6e 64 6f 77 | 20 22 43 68 69 63 6c 65 |f window| "Chicle|
|00001b60| 74 74 65 20 45 64 69 74 | 6f 72 22 20 74 6f 20 42 |tte Edit|or" to B|
|00001b70| 74 6e 31 4e 61 6d 65 20 | 6f 66 20 77 69 6e 64 6f |tn1Name |of windo|
|00001b80| 77 20 77 69 6e 64 4e 61 | 6d 65 0d 65 6e 64 20 69 |w windNa|me.end i|
|00001b90| 66 0d 2d 2d 20 65 6e 61 | 62 6c 65 20 2f 20 64 69 |f.-- ena|ble / di|
|00001ba0| 73 61 62 6c 65 20 22 73 | 65 74 20 70 72 6f 70 65 |sable "s|et prope|
|00001bb0| 72 74 69 65 73 20 6f 66 | 20 62 74 6e 22 0d 73 65 |rties of| btn".se|
|00001bc0| 74 20 42 74 6e 39 44 69 | 73 61 62 6c 65 20 6f 66 |t Btn9Di|sable of|
|00001bd0| 20 77 69 6e 64 6f 77 20 | 22 43 68 69 63 6c 65 74 | window |"Chiclet|
|00001be0| 74 65 20 45 64 69 74 6f | 72 22 20 74 6f 20 69 74 |te Edito|r" to it|
|00001bf0| 20 2d 2d 20 22 73 65 74 | 20 70 72 6f 70 65 72 74 | -- "set| propert|
|00001c00| 69 65 73 20 6f 66 20 62 | 76 74 6e 22 0d 73 65 74 |ies of b|vtn".set|
|00001c10| 20 42 74 6e 39 47 72 61 | 79 65 64 4f 75 74 20 6f | Btn9Gra|yedOut o|
|00001c20| 66 20 77 69 6e 64 6f 77 | 20 22 43 68 69 63 6c 65 |f window| "Chicle|
|00001c30| 74 74 65 20 45 64 69 74 | 6f 72 22 20 74 6f 20 69 |tte Edit|or" to i|
|00001c40| 74 0d 73 65 74 20 42 74 | 6e 31 30 44 69 73 61 62 |t.set Bt|n10Disab|
|00001c50| 6c 65 20 6f 66 20 77 69 | 6e 64 6f 77 20 22 43 68 |le of wi|ndow "Ch|
|00001c60| 69 63 6c 65 74 74 65 20 | 45 64 69 74 6f 72 22 20 |iclette |Editor" |
|00001c70| 74 6f 20 69 74 0d 73 65 | 74 20 42 74 6e 31 30 47 |to it.se|t Btn10G|
|00001c80| 72 61 79 65 64 4f 75 74 | 20 6f 66 20 77 69 6e 64 |rayedOut| of wind|
|00001c90| 6f 77 20 22 43 68 69 63 | 6c 65 74 74 65 20 45 64 |ow "Chic|lette Ed|
|00001ca0| 69 74 6f 72 22 20 74 6f | 20 69 74 0d 73 65 74 20 |itor" to| it.set |
|00001cb0| 42 74 6e 31 31 47 72 61 | 79 65 64 4f 75 74 20 6f |Btn11Gra|yedOut o|
|00001cc0| 66 20 77 69 6e 64 6f 77 | 20 22 43 68 69 63 6c 65 |f window| "Chicle|
|00001cd0| 74 74 65 20 45 64 69 74 | 6f 72 22 20 74 6f 20 69 |tte Edit|or" to i|
|00001ce0| 74 20 2d 2d 20 22 75 73 | 65 20 61 72 72 6f 77 73 |t -- "us|e arrows|
|00001cf0| c9 22 0d 2d 2d 20 64 6f | 77 6e 20 61 72 72 6f 77 |.".-- do|wn arrow|
|00001d00| 20 61 6c 77 61 79 73 20 | 64 69 73 61 62 6c 65 20 | always |disable |
|00001d10| 61 74 20 74 68 69 73 20 | 73 74 61 67 65 0d 73 65 |at this |stage.se|
|00001d20| 74 20 42 74 6e 37 44 69 | 73 61 62 6c 65 20 6f 66 |t Btn7Di|sable of|
|00001d30| 20 77 69 6e 64 6f 77 20 | 22 43 68 69 63 6c 65 74 | window |"Chiclet|
|00001d40| 74 65 20 45 64 69 74 6f | 72 22 20 74 6f 20 74 72 |te Edito|r" to tr|
|00001d50| 75 65 0d 73 65 74 20 42 | 74 6e 37 47 72 61 79 65 |ue.set B|tn7Graye|
|00001d60| 64 4f 75 74 20 6f 66 20 | 77 69 6e 64 6f 77 20 22 |dOut of |window "|
|00001d70| 43 68 69 63 6c 65 74 74 | 65 20 45 64 69 74 6f 72 |Chiclett|e Editor|
|00001d80| 22 20 74 6f 20 74 72 75 | 65 0d 2d 2d 20 75 70 20 |" to tru|e.-- up |
|00001d90| 61 72 72 6f 77 0d 67 65 | 74 20 28 6e 20 b2 20 31 |arrow.ge|t (n . 1|
|00001da0| 29 0d 73 65 74 20 42 74 | 6e 36 44 69 73 61 62 6c |).set Bt|n6Disabl|
|00001db0| 65 20 6f 66 20 77 69 6e | 64 6f 77 20 22 43 68 69 |e of win|dow "Chi|
|00001dc0| 63 6c 65 74 74 65 20 45 | 64 69 74 6f 72 22 20 74 |clette E|ditor" t|
|00001dd0| 6f 20 69 74 0d 73 65 74 | 20 42 74 6e 36 47 72 61 |o it.set| Btn6Gra|
|00001de0| 79 65 64 4f 75 74 20 6f | 66 20 77 69 6e 64 6f 77 |yedOut o|f window|
|00001df0| 20 22 43 68 69 63 6c 65 | 74 74 65 20 45 64 69 74 | "Chicle|tte Edit|
|00001e00| 6f 72 22 20 74 6f 20 69 | 74 0d 0d 69 66 20 6e 6f |or" to i|t..if no|
|00001e10| 74 20 76 69 73 20 74 68 | 65 6e 0d 76 69 73 75 61 |t vis th|en.visua|
|00001e20| 6c 20 65 66 66 65 63 74 | 20 22 7a 6f 6f 6d 20 6f |l effect| "zoom o|
|00001e30| 70 65 6e 22 0d 67 6f 20 | 74 68 69 73 20 63 64 0d |pen".go |this cd.|
|00001e40| 73 68 6f 77 20 77 69 6e | 64 6f 77 20 22 43 68 69 |show win|dow "Chi|
|00001e50| 63 6c 65 74 74 65 20 45 | 64 69 74 6f 72 22 0d 65 |clette E|ditor".e|
|00001e60| 6e 64 20 69 66 0d 65 6e | 64 20 49 6e 69 74 45 64 |nd if.en|d InitEd|
|00001e70| 69 74 6f 72 0d 0d 2d 2d | 20 48 41 4e 44 4c 45 52 |itor..--| HANDLER|
|00001e80| 53 20 44 45 46 49 4e 49 | 4e 47 20 4d 44 6d 65 73 |S DEFINI|NG MDmes|
|00001e90| 73 2c 20 4d 53 44 6d 65 | 73 73 20 61 6e 64 2f 6f |s, MSDme|ss and/o|
|00001ea0| 72 20 4d 55 6d 65 73 73 | 20 4f 46 20 54 48 45 20 |r MUmess| OF THE |
|00001eb0| 42 55 54 54 4f 4e 53 0d | 2d 2d 20 4f 46 20 54 48 |BUTTONS.|-- OF TH|
|00001ec0| 45 20 50 41 4c 45 54 54 | 45 20 22 43 68 69 63 6c |E PALETT|E "Chicl|
|00001ed0| 65 74 74 65 20 45 64 69 | 74 6f 72 22 20 3a 0d 0d |ette Edi|tor" :..|
|00001ee0| 6f 6e 20 41 73 6b 50 61 | 6c 4e 61 6d 65 0d 2d 2d |on AskPa|lName.--|
|00001ef0| 20 42 74 6e 31 4d 55 6d | 65 73 73 20 6f 66 20 77 | Btn1MUm|ess of w|
|00001f00| 69 6e 64 6f 77 20 22 43 | 68 69 63 6c 65 74 74 65 |indow "C|hiclette|
|00001f10| 20 45 64 69 74 6f 72 22 | 20 69 6e 20 48 43 20 3c | Editor"| in HC <|
|00001f20| 20 32 2e 31 20 3a 0d 2d | 2d 20 63 68 6f 69 63 65 | 2.1 :.-|- choice|
|00001f30| 20 6f 66 20 74 68 65 20 | 70 61 6c 65 74 74 65 20 | of the |palette |
|00001f40| 74 6f 20 65 64 69 74 0d | 2d 2d 20 69 6e 20 48 43 |to edit.|-- in HC|
|00001f50| 20 32 2e 31 20 6f 72 20 | 6c 61 74 65 72 2c 20 63 | 2.1 or |later, c|
|00001f60| 68 6f 69 63 65 20 22 6f | 6e 20 6d 6f 75 73 65 64 |hoice "o|n moused|
|00001f70| 6f 77 6e 22 2c 20 4d 44 | 6d 65 73 73 20 3a 20 50 |own", MD|mess : P|
|00001f80| 6f 70 55 70 50 61 6c 4e | 61 6d 65 73 0d 2d 2d 20 |opUpPalN|ames.-- |
|00001f90| 69 66 20 74 68 65 20 76 | 65 72 73 69 6f 6e 20 b3 |if the v|ersion .|
|00001fa0| 20 32 2e 31 20 74 68 65 | 6e 20 65 78 69 74 20 41 | 2.1 the|n exit A|
|00001fb0| 73 6b 50 61 6c 4e 61 6d | 65 20 2d 2d 20 63 68 6f |skPalNam|e -- cho|
|00001fc0| 69 63 65 20 6d 61 64 65 | 20 69 6e 20 50 6f 70 55 |ice made| in PopU|
|00001fd0| 70 50 61 6c 4e 61 6d 65 | 73 0d 61 73 6b 20 22 45 |pPalName|s.ask "E|
|00001fe0| 6e 74 65 72 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |nter the| name of|
|00001ff0| 20 74 68 65 20 70 61 6c | 65 74 74 65 20 74 6f 20 | the pal|ette to |
|00002000| 65 64 69 74 20 3a 22 0d | 69 66 20 69 74 20 3d 20 |edit :".|if it = |
|00002010| 22 22 20 74 68 65 6e 20 | 65 78 69 74 20 41 73 6b |"" then |exit Ask|
|00002020| 50 61 6c 4e 61 6d 65 0d | 63 68 65 63 6b 4f 70 65 |PalName.|checkOpe|
|00002030| 6e 65 64 50 61 6c 65 74 | 74 65 20 69 74 0d 49 6e |nedPalet|te it.In|
|00002040| 69 74 45 64 69 74 6f 72 | 20 69 74 0d 65 6e 64 20 |itEditor| it.end |
|00002050| 41 73 6b 50 61 6c 4e 61 | 6d 65 0d 0d 6f 6e 20 50 |AskPalNa|me..on P|
|00002060| 6f 70 55 70 50 61 6c 4e | 61 6d 65 73 0d 2d 2d 20 |opUpPalN|ames.-- |
|00002070| 42 74 6e 31 4d 55 6d 65 | 73 73 20 6f 66 20 77 69 |Btn1MUme|ss of wi|
|00002080| 6e 64 6f 77 20 22 43 68 | 69 63 6c 65 74 74 65 20 |ndow "Ch|iclette |
|00002090| 45 64 69 74 6f 72 22 20 | 69 6e 20 48 43 20 b3 20 |Editor" |in HC . |
|000020a0| 32 2e 31 20 3a 0d 2d 2d | 20 63 68 6f 69 63 65 20 |2.1 :.--| choice |
|000020b0| 6f 66 20 74 68 65 20 70 | 61 6c 65 74 74 65 20 74 |of the p|alette t|
|000020c0| 6f 20 65 64 69 74 0d 69 | 66 20 74 68 65 20 76 65 |o edit.i|f the ve|
|000020d0| 72 73 69 6f 6e 20 3c 20 | 32 2e 31 20 74 68 65 6e |rsion < |2.1 then|
|000020e0| 0d 61 6e 73 77 65 72 20 | 22 54 68 69 73 20 68 61 |.answer |"This ha|
|000020f0| 6e 64 6c 65 72 20 6e 65 | 65 64 73 20 48 79 70 65 |ndler ne|eds Hype|
|00002100| 72 43 61 72 64 20 32 2e | 31 20 6f 72 20 6c 61 74 |rCard 2.|1 or lat|
|00002110| 65 72 22 0d 65 78 69 74 | 20 50 6f 70 55 70 50 61 |er".exit| PopUpPa|
|00002120| 6c 4e 61 6d 65 73 0d 65 | 6e 64 20 69 66 0d 73 65 |lNames.e|nd if.se|
|00002130| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 61 72 72 6f |t cursor| to arro|
|00002140| 77 0d 70 75 74 20 22 21 | 22 20 26 20 6e 75 6d 74 |w.put "!|" & numt|
|00002150| 6f 63 68 61 72 28 31 38 | 29 20 69 6e 74 6f 20 74 |ochar(18|) into t|
|00002160| 68 65 43 68 65 63 6b 4d | 61 72 6b 0d 70 75 74 20 |heCheckM|ark.put |
|00002170| 62 74 6e 31 4e 61 6d 65 | 20 6f 66 20 77 69 6e 64 |btn1Name| of wind|
|00002180| 6f 77 20 22 43 68 69 63 | 6c 65 74 74 65 20 45 64 |ow "Chic|lette Ed|
|00002190| 69 74 6f 72 22 20 69 6e | 74 6f 20 65 64 69 74 65 |itor" in|to edite|
|000021a0| 64 50 61 6c 0d 70 75 74 | 20 22 22 20 69 6e 74 6f |dPal.put| "" into|
|000021b0| 20 74 68 65 4d 65 6e 75 | 0d 72 65 70 65 61 74 20 | theMenu|.repeat |
|000021c0| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 6e 75 |with i =| 1 to nu|
|000021d0| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 6f 66 |mber of |lines of|
|000021e0| 20 74 68 65 20 77 69 6e | 64 6f 77 73 0d 67 65 74 | the win|dows.get|
|000021f0| 20 6c 69 6e 65 20 69 20 | 6f 66 20 74 68 65 20 77 | line i |of the w|
|00002200| 69 6e 64 6f 77 73 0d 69 | 66 20 74 68 65 20 6f 77 |indows.i|f the ow|
|00002210| 6e 65 72 20 6f 66 20 77 | 69 6e 64 6f 77 20 69 74 |ner of w|indow it|
|00002220| 20 69 73 20 22 43 68 69 | 63 6c 65 74 74 65 22 20 | is "Chi|clette" |
|00002230| 74 68 65 6e 0d 69 66 20 | 69 74 20 69 73 20 65 64 |then.if |it is ed|
|00002240| 69 74 65 64 50 61 6c 20 | 74 68 65 6e 20 67 65 74 |itedPal |then get|
|00002250| 20 74 68 65 43 68 65 63 | 6b 4d 61 72 6b 26 69 74 | theChec|kMark&it|
|00002260| 0d 70 75 74 20 69 74 20 | 26 20 72 65 74 75 72 6e |.put it |& return|
|00002270| 20 61 66 74 65 72 20 74 | 68 65 4d 65 6e 75 0d 65 | after t|heMenu.e|
|00002280| 6e 64 20 69 66 0d 65 6e | 64 20 72 65 70 65 61 74 |nd if.en|d repeat|
|00002290| 0d 69 66 20 74 68 65 4d | 65 6e 75 20 3d 20 22 22 |.if theM|enu = ""|
|000022a0| 20 74 68 65 6e 0d 61 6e | 73 77 65 72 20 22 54 68 | then.an|swer "Th|
|000022b0| 65 72 65 20 69 73 20 6e | 6f 20 6f 70 65 6e 65 64 |ere is n|o opened|
|000022c0| 20 63 68 69 63 20 70 61 | 6c 65 74 74 65 20 74 6f | chic pa|lette to|
|000022d0| 20 65 64 69 74 2e 22 0d | 65 78 69 74 20 50 6f 70 | edit.".|exit Pop|
|000022e0| 55 70 50 61 6c 4e 61 6d | 65 73 0d 65 6e 64 20 69 |UpPalNam|es.end i|
|000022f0| 66 0d 73 6f 72 74 20 6c | 69 6e 65 73 20 6f 66 20 |f.sort l|ines of |
|00002300| 74 68 65 4d 65 6e 75 0d | 69 66 20 74 68 65 20 6d |theMenu.|if the m|
|00002310| 6f 75 73 65 20 69 73 20 | 22 55 70 22 20 74 68 65 |ouse is |"Up" the|
|00002320| 6e 20 61 62 6f 72 74 50 | 6f 70 0d 67 65 74 20 4a |n abortP|op.get J|
|00002330| 6d 48 70 6f 70 55 70 20 | 28 74 68 65 4d 65 6e 75 |mHpopUp |(theMenu|
|00002340| 2c 22 22 2c c2 0d 69 74 | 65 6d 20 32 20 6f 66 20 |,"",..it|em 2 of |
|00002350| 72 65 63 74 20 6f 66 20 | 63 64 20 77 69 6e 64 6f |rect of |cd windo|
|00002360| 77 20 2b 20 69 74 65 6d | 20 32 20 6f 66 20 74 68 |w + item| 2 of th|
|00002370| 65 20 63 6c 69 63 6b 6c | 6f 63 2c c2 0d 69 74 65 |e clickl|oc,..ite|
|00002380| 6d 20 31 20 6f 66 20 72 | 65 63 74 20 6f 66 20 63 |m 1 of r|ect of c|
|00002390| 64 20 77 69 6e 64 6f 77 | 20 2b 20 69 74 65 6d 20 |d window| + item |
|000023a0| 31 20 6f 66 20 74 68 65 | 20 63 6c 69 63 6b 6c 6f |1 of the| clicklo|
|000023b0| 63 29 0d 67 65 74 20 6c | 69 6e 65 20 69 74 65 6d |c).get l|ine item|
|000023c0| 20 31 20 6f 66 20 69 74 | 20 6f 66 20 74 68 65 4d | 1 of it| of theM|
|000023d0| 65 6e 75 0d 69 66 20 69 | 74 20 3d 20 22 22 20 6f |enu.if i|t = "" o|
|000023e0| 72 20 63 68 61 72 20 31 | 20 74 6f 20 32 20 6f 66 |r char 1| to 2 of|
|000023f0| 20 69 74 20 3d 20 74 68 | 65 43 68 65 63 6b 4d 61 | it = th|eCheckMa|
|00002400| 72 6b 20 74 68 65 6e 20 | 65 78 69 74 20 50 6f 70 |rk then |exit Pop|
|00002410| 55 70 50 61 6c 4e 61 6d | 65 73 0d 49 6e 69 74 45 |UpPalNam|es.InitE|
|00002420| 64 69 74 6f 72 20 69 74 | 0d 65 6e 64 20 50 6f 70 |ditor it|.end Pop|
|00002430| 55 70 50 61 6c 4e 61 6d | 65 73 0d 0d 6f 6e 20 55 |UpPalNam|es..on U|
|00002440| 70 4f 72 44 6f 77 6e 20 | 6e 20 2d 2d 20 6e 20 3d |pOrDown |n -- n =|
|00002450| 20 31 20 6f 72 20 2d 31 | 0d 2d 2d 20 4d 44 6d 65 | 1 or -1|.-- MDme|
|00002460| 73 73 20 61 6e 64 20 4d | 53 44 6d 65 73 73 20 6f |ss and M|SDmess o|
|00002470| 66 20 61 72 72 6f 77 73 | 20 6f 66 20 43 68 69 63 |f arrows| of Chic|
|00002480| 6c 65 74 74 65 20 45 64 | 69 74 6f 72 20 3a 0d 2d |lette Ed|itor :.-|
|00002490| 2d 20 63 68 6f 69 63 65 | 20 6f 66 20 74 68 65 20 |- choice| of the |
|000024a0| 62 75 74 74 6f 6e 20 74 | 6f 20 65 64 69 74 0d 70 |button t|o edit.p|
|000024b0| 75 74 20 42 74 6e 31 4e | 61 6d 65 20 6f 66 20 77 |ut Btn1N|ame of w|
|000024c0| 69 6e 64 6f 77 20 22 43 | 68 69 63 6c 65 74 74 65 |indow "C|hiclette|
|000024d0| 20 45 64 69 74 6f 72 22 | 20 69 6e 74 6f 20 77 69 | Editor"| into wi|
|000024e0| 6e 64 4e 61 6d 65 0d 63 | 68 65 63 6b 4f 70 65 6e |ndName.c|heckOpen|
|000024f0| 65 64 50 61 6c 65 74 74 | 65 20 77 69 6e 64 4e 61 |edPalett|e windNa|
|00002500| 6d 65 0d 70 75 74 20 42 | 74 6e 35 4e 61 6d 65 20 |me.put B|tn5Name |
|00002510| 6f 66 20 77 69 6e 64 6f | 77 20 22 43 68 69 63 6c |of windo|w "Chicl|
|00002520| 65 74 74 65 20 45 64 69 | 74 6f 72 22 20 69 6e 74 |ette Edi|tor" int|
|00002530| 6f 20 6e 62 0d 61 64 64 | 20 6e 20 74 6f 20 6e 62 |o nb.add| n to nb|
|00002540| 0d 73 65 6e 64 20 22 6c | 6f 63 6b 53 63 72 65 65 |.send "l|ockScree|
|00002550| 6e 22 20 74 6f 20 77 69 | 6e 64 6f 77 20 22 43 68 |n" to wi|ndow "Ch|
|00002560| 69 63 6c 65 74 74 65 20 | 45 64 69 74 6f 72 22 0d |iclette |Editor".|
|00002570| 73 65 74 20 42 74 6e 35 | 4e 61 6d 65 20 6f 66 20 |set Btn5|Name of |
|00002580| 77 69 6e 64 6f 77 20 22 | 43 68 69 63 6c 65 74 74 |window "|Chiclett|
|00002590| 65 20 45 64 69 74 6f 72 | 22 20 74 6f 20 6e 62 0d |e Editor|" to nb.|
|000025a0| 67 65 74 20 22 67 65 74 | 20 42 74 6e 22 20 26 20 |get "get| Btn" & |
|000025b0| 6e 62 20 26 22 6e 61 6d | 65 20 6f 66 20 77 69 6e |nb &"nam|e of win|
|000025c0| 64 6f 77 22 26 26 20 51 | 28 77 69 6e 64 4e 61 6d |dow"&& Q|(windNam|
|000025d0| 65 29 0d 64 6f 20 69 74 | 0d 73 65 74 20 42 74 6e |e).do it|.set Btn|
|000025e0| 38 4e 61 6d 65 20 6f 66 | 20 77 69 6e 64 6f 77 20 |8Name of| window |
|000025f0| 22 43 68 69 63 6c 65 74 | 74 65 20 45 64 69 74 6f |"Chiclet|te Edito|
|00002600| 72 22 20 74 6f 20 69 74 | 0d 69 66 20 6e 62 20 3d |r" to it|.if nb =|
|00002610| 20 31 20 74 68 65 6e 0d | 73 65 74 20 42 74 6e 37 | 1 then.|set Btn7|
|00002620| 44 69 73 61 62 6c 65 20 | 6f 66 20 77 69 6e 64 6f |Disable |of windo|
|00002630| 77 20 22 43 68 69 63 6c | 65 74 74 65 20 45 64 69 |w "Chicl|ette Edi|
|00002640| 74 6f 72 22 20 74 6f 20 | 74 72 75 65 0d 73 65 74 |tor" to |true.set|
|00002650| 20 42 74 6e 37 47 72 61 | 79 65 64 4f 75 74 20 6f | Btn7Gra|yedOut o|
|00002660| 66 20 77 69 6e 64 6f 77 | 20 22 43 68 69 63 6c 65 |f window| "Chicle|
|00002670| 74 74 65 20 45 64 69 74 | 6f 72 22 20 74 6f 20 74 |tte Edit|or" to t|
|00002680| 72 75 65 0d 65 6c 73 65 | 20 69 66 20 6e 62 20 3d |rue.else| if nb =|
|00002690| 20 32 20 74 68 65 6e 0d | 73 65 74 20 42 74 6e 37 | 2 then.|set Btn7|
|000026a0| 44 69 73 61 62 6c 65 20 | 6f 66 20 77 69 6e 64 6f |Disable |of windo|
|000026b0| 77 20 22 43 68 69 63 6c | 65 74 74 65 20 45 64 69 |w "Chicl|ette Edi|
|000026c0| 74 6f 72 22 20 74 6f 20 | 66 61 6c 73 65 0d 73 65 |tor" to |false.se|
|000026d0| 74 20 42 74 6e 37 47 72 | 61 79 65 64 4f 75 74 20 |t Btn7Gr|ayedOut |
|000026e0| 6f 66 20 77 69 6e 64 6f | 77 20 22 43 68 69 63 6c |of windo|w "Chicl|
|000026f0| 65 74 74 65 20 45 64 69 | 74 6f 72 22 20 74 6f 20 |ette Edi|tor" to |
|00002700| 66 61 6c 73 65 0d 65 6e | 64 20 69 66 0d 67 65 74 |false.en|d if.get|
|00002710| 20 6e 75 6d 62 65 72 4f | 66 42 74 6e 73 20 6f 66 | numberO|fBtns of|
|00002720| 20 77 69 6e 64 6f 77 20 | 77 69 6e 64 4e 61 6d 65 | window |windName|
|00002730| 0d 69 66 20 69 74 20 3d | 20 6e 62 20 74 68 65 6e |.if it =| nb then|
|00002740| 0d 73 65 74 20 42 74 6e | 36 44 69 73 61 62 6c 65 |.set Btn|6Disable|
|00002750| 20 6f 66 20 77 69 6e 64 | 6f 77 20 22 43 68 69 63 | of wind|ow "Chic|
|00002760| 6c 65 74 74 65 20 45 64 | 69 74 6f 72 22 20 74 6f |lette Ed|itor" to|
|00002770| 20 74 72 75 65 0d 73 65 | 74 20 42 74 6e 36 47 72 | true.se|t Btn6Gr|
|00002780| 61 79 65 64 4f 75 74 20 | 6f 66 20 77 69 6e 64 6f |ayedOut |of windo|
|00002790| 77 20 22 43 68 69 63 6c | 65 74 74 65 20 45 64 69 |w "Chicl|ette Edi|
|000027a0| 74 6f 72 22 20 74 6f 20 | 74 72 75 65 0d 65 6c 73 |tor" to |true.els|
|000027b0| 65 20 69 66 20 69 74 20 | 3d 20 6e 62 20 2b 20 31 |e if it |= nb + 1|
|000027c0| 20 74 68 65 6e 0d 73 65 | 74 20 42 74 6e 36 44 69 | then.se|t Btn6Di|
|000027d0| 73 61 62 6c 65 20 6f 66 | 20 77 69 6e 64 6f 77 20 |sable of| window |
|000027e0| 22 43 68 69 63 6c 65 74 | 74 65 20 45 64 69 74 6f |"Chiclet|te Edito|
|000027f0| 72 22 20 74 6f 20 66 61 | 6c 73 65 0d 73 65 74 20 |r" to fa|lse.set |
|00002800| 42 74 6e 36 47 72 61 79 | 65 64 4f 75 74 20 6f 66 |Btn6Gray|edOut of|
|00002810| 20 77 69 6e 64 6f 77 20 | 22 43 68 69 63 6c 65 74 | window |"Chiclet|
|00002820| 74 65 20 45 64 69 74 6f | 72 22 20 74 6f 20 66 61 |te Edito|r" to fa|
|00002830| 6c 73 65 0d 65 6e 64 20 | 69 66 0d 73 65 6e 64 20 |lse.end |if.send |
|00002840| 22 75 6e 4c 6f 63 6b 53 | 63 72 65 65 6e 22 20 74 |"unLockS|creen" t|
|00002850| 6f 20 77 69 6e 64 6f 77 | 20 22 43 68 69 63 6c 65 |o window| "Chicle|
|00002860| 74 74 65 20 45 64 69 74 | 6f 72 22 0d 65 6e 64 20 |tte Edit|or".end |
|00002870| 55 70 4f 72 44 6f 77 6e | 0d 0d 2d 2d 20 48 41 4e |UpOrDown|..-- HAN|
|00002880| 44 4c 45 52 53 20 55 53 | 45 44 20 54 4f 20 53 45 |DLERS US|ED TO SE|
|00002890| 54 20 50 52 4f 50 45 52 | 54 49 45 53 20 4f 46 20 |T PROPER|TIES OF |
|000028a0| 54 48 45 20 57 49 4e 44 | 4f 57 0d 2d 2d 20 55 53 |THE WIND|OW.-- US|
|000028b0| 45 44 20 49 4e 20 42 55 | 54 54 4f 4e 20 39 20 4f |ED IN BU|TTON 9 O|
|000028c0| 46 20 54 48 45 20 43 68 | 69 63 6c 65 74 74 65 20 |F THE Ch|iclette |
|000028d0| 45 64 69 74 6f 72 2c 0d | 2d 2d 20 41 4e 44 2c 20 |Editor,.|-- AND, |
|000028e0| 49 4e 20 53 45 4c 46 20 | 45 44 49 54 49 4e 47 20 |IN SELF |EDITING |
|000028f0| 4d 4f 44 45 2c 20 4f 4e | 20 4d 44 20 49 4e 53 49 |MODE, ON| MD INSI|
|00002900| 44 45 20 54 48 45 20 50 | 41 4c 45 54 54 45 2c 20 |DE THE P|ALETTE, |
|00002910| 4f 55 54 53 49 44 45 20 | 54 48 45 20 42 54 4e 53 |OUTSIDE |THE BTNS|
|00002920| 0d 6f 6e 20 57 69 6e 45 | 64 69 74 4d 65 6e 75 20 |.on WinE|ditMenu |
|00002930| 77 69 6e 64 4e 61 6d 65 | 0d 63 68 65 63 6b 6f 70 |windName|.checkop|
|00002940| 65 6e 65 64 50 61 6c 65 | 74 74 65 20 77 69 6e 64 |enedPale|tte wind|
|00002950| 4e 61 6d 65 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |Name.set| cursor |
|00002960| 74 6f 20 61 72 72 6f 77 | 0d 70 75 74 20 22 21 22 |to arrow|.put "!"|
|00002970| 20 26 20 6e 75 6d 74 6f | 63 68 61 72 28 31 38 29 | & numto|char(18)|
|00002980| 20 69 6e 74 6f 20 74 68 | 65 43 68 65 63 6b 4d 61 | into th|eCheckMa|
|00002990| 72 6b 0d 0d 70 75 74 20 | 22 5e 31 41 72 72 6f 77 |rk..put |"^1Arrow|
|000029a0| 2c 5e 32 48 61 6e 64 2c | 5e 33 43 72 6f 73 73 2c |,^2Hand,|^3Cross,|
|000029b0| 5e 34 50 6c 75 73 22 20 | 69 6e 74 6f 20 43 75 72 |^4Plus" |into Cur|
|000029c0| 73 6f 72 4c 69 73 74 0d | 70 75 74 20 22 30 2c 31 |sorList.|put "0,1|
|000029d0| 32 38 2c 32 2c 33 22 20 | 69 6e 74 6f 20 63 75 72 |28,2,3" |into cur|
|000029e0| 73 6f 72 49 64 4c 69 73 | 74 0d 0d 70 75 74 20 22 |sorIdLis|t..put "|
|000029f0| 52 65 63 74 61 6e 67 6c | 65 c9 22 20 26 20 72 65 |Rectangl|e." & re|
|00002a00| 74 75 72 6e 20 c2 20 20 | 2d 2d 20 31 0d 26 20 22 |turn . |-- 1.& "|
|00002a10| 57 69 6e 64 6f 77 20 73 | 74 79 6c 65 2c 55 6e 54 |Window s|tyle,UnT|
|00002a20| 69 74 6c 65 64 22 20 26 | 20 72 65 74 75 72 6e 20 |itled" &| return |
|00002a30| c2 20 2d 2d 20 32 0d 26 | 20 22 43 75 72 73 6f 72 |. -- 2.&| "Cursor|
|00002a40| 2c 22 20 26 20 43 75 72 | 73 6f 72 4c 69 73 74 20 |," & Cur|sorList |
|00002a50| 26 20 72 65 74 75 72 6e | 20 c2 20 20 2d 2d 20 33 |& return| . -- 3|
|00002a60| 0d 26 20 22 50 49 43 54 | c9 22 20 26 20 72 65 74 |.& "PICT|." & ret|
|00002a70| 75 72 6e 20 c2 20 2d 2d | 20 34 0d 26 20 22 41 6c |urn . --| 4.& "Al|
|00002a80| 77 61 79 73 20 42 65 68 | 69 6e 64 22 20 26 20 72 |ways Beh|ind" & r|
|00002a90| 65 74 75 72 6e 20 c2 20 | 2d 2d 20 35 0d 26 20 22 |eturn . |-- 5.& "|
|00002aa0| 4e 6f 20 43 6c 6f 73 65 | 20 42 6f 78 22 20 26 20 |No Close| Box" & |
|00002ab0| 72 65 74 75 72 6e 20 c2 | 20 2d 2d 20 36 0d 26 20 |return .| -- 6.& |
|00002ac0| 22 48 69 64 64 65 6e 22 | 20 69 6e 74 6f 20 74 68 |"Hidden"| into th|
|00002ad0| 65 4d 65 6e 75 20 2d 2d | 20 37 0d 0d 67 65 74 20 |eMenu --| 7..get |
|00002ae0| 50 72 6f 63 49 64 20 6f | 66 20 77 69 6e 64 6f 77 |ProcId o|f window|
|00002af0| 20 77 69 6e 64 6e 61 6d | 65 0d 69 66 20 69 74 20 | windnam|e.if it |
|00002b00| 3d 20 22 32 30 35 32 22 | 20 74 68 65 6e 0d 70 75 |= "2052"| then.pu|
|00002b10| 74 20 74 68 65 43 68 65 | 63 6b 4d 61 72 6b 20 62 |t theChe|ckMark b|
|00002b20| 65 66 6f 72 65 20 69 74 | 65 6d 20 32 20 6f 66 20 |efore it|em 2 of |
|00002b30| 6c 69 6e 65 20 32 20 6f | 66 20 74 68 65 4d 65 6e |line 2 o|f theMen|
|00002b40| 75 0d 65 6e 64 20 69 66 | 0d 0d 67 65 74 20 63 75 |u.end if|..get cu|
|00002b50| 72 73 6f 72 20 6f 66 20 | 77 69 6e 64 6f 77 20 77 |rsor of |window w|
|00002b60| 69 6e 64 6e 61 6d 65 0d | 70 75 74 20 22 22 20 69 |indname.|put "" i|
|00002b70| 6e 74 6f 20 6e 0d 72 65 | 70 65 61 74 20 77 69 74 |nto n.re|peat wit|
|00002b80| 68 20 69 20 3d 20 31 20 | 74 6f 20 6e 75 6d 62 65 |h i = 1 |to numbe|
|00002b90| 72 20 6f 66 20 69 74 65 | 6d 73 20 6f 66 20 63 75 |r of ite|ms of cu|
|00002ba0| 72 73 6f 72 49 64 4c 69 | 73 74 0d 69 66 20 69 74 |rsorIdLi|st.if it|
|00002bb0| 20 3d 20 69 74 65 6d 20 | 69 20 6f 66 20 63 75 72 | = item |i of cur|
|00002bc0| 73 6f 72 49 64 4c 69 73 | 74 20 74 68 65 6e 0d 70 |sorIdLis|t then.p|
|00002bd0| 75 74 20 69 20 69 6e 74 | 6f 20 6e 0d 65 78 69 74 |ut i int|o n.exit|
|00002be0| 20 72 65 70 65 61 74 0d | 65 6e 64 20 69 66 0d 65 | repeat.|end if.e|
|00002bf0| 6e 64 20 72 65 70 65 61 | 74 0d 69 66 20 6e 20 ad |nd repea|t.if n .|
|00002c00| 20 22 22 20 74 68 65 6e | 20 70 75 74 20 74 68 65 | "" then| put the|
|00002c10| 43 68 65 63 6b 4d 61 72 | 6b 20 62 65 66 6f 72 65 |CheckMar|k before|
|00002c20| 20 69 74 65 6d 20 6e 2b | 31 20 6f 66 20 6c 69 6e | item n+|1 of lin|
|00002c30| 65 20 33 20 6f 66 20 74 | 68 65 4d 65 6e 75 0d 0d |e 3 of t|heMenu..|
|00002c40| 69 66 20 41 6c 77 61 79 | 73 42 65 68 69 6e 64 20 |if Alway|sBehind |
|00002c50| 6f 66 20 77 69 6e 64 6f | 77 20 77 69 6e 64 6e 61 |of windo|w windna|
|00002c60| 6d 65 20 74 68 65 6e 20 | 70 75 74 20 74 68 65 43 |me then |put theC|
|00002c70| 68 65 63 6b 4d 61 72 6b | 20 62 65 66 6f 72 65 20 |heckMark| before |
|00002c80| 6c 69 6e 65 20 35 20 6f | 66 20 74 68 65 4d 65 6e |line 5 o|f theMen|
|00002c90| 75 0d 69 66 20 6e 6f 74 | 20 28 43 6c 6f 73 65 42 |u.if not| (CloseB|
|00002ca0| 6f 78 20 6f 66 20 77 69 | 6e 64 6f 77 20 77 69 6e |ox of wi|ndow win|
|00002cb0| 64 6e 61 6d 65 29 20 74 | 68 65 6e 20 70 75 74 20 |dname) t|hen put |
|00002cc0| 74 68 65 43 68 65 63 6b | 4d 61 72 6b 20 62 65 66 |theCheck|Mark bef|
|00002cd0| 6f 72 65 20 6c 69 6e 65 | 20 36 20 6f 66 20 74 68 |ore line| 6 of th|
|00002ce0| 65 4d 65 6e 75 0d 69 66 | 20 6e 6f 74 20 76 69 73 |eMenu.if| not vis|
|00002cf0| 69 62 6c 65 20 6f 66 20 | 77 69 6e 64 6f 77 20 77 |ible of |window w|
|00002d00| 69 6e 64 6e 61 6d 65 20 | 74 68 65 6e 20 70 75 74 |indname |then put|
|00002d10| 20 74 68 65 43 68 65 63 | 6b 4d 61 72 6b 20 62 65 | theChec|kMark be|
|00002d20| 66 6f 72 65 20 6c 69 6e | 65 20 37 20 6f 66 20 74 |fore lin|e 7 of t|
|00002d30| 68 65 4d 65 6e 75 0d 0d | 69 66 20 74 68 65 20 6d |heMenu..|if the m|
|00002d40| 6f 75 73 65 20 69 73 20 | 22 55 70 22 20 74 68 65 |ouse is |"Up" the|
|00002d50| 6e 20 61 62 6f 72 74 50 | 6f 70 0d 0d 67 65 74 20 |n abortP|op..get |
|00002d60| 4a 6d 48 70 6f 70 55 70 | 20 28 74 68 65 4d 65 6e |JmHpopUp| (theMen|
|00002d70| 75 2c 22 22 2c c2 0d 69 | 74 65 6d 20 32 20 6f 66 |u,"",..i|tem 2 of|
|00002d80| 20 72 65 63 74 20 6f 66 | 20 63 64 20 77 69 6e 64 | rect of| cd wind|
|00002d90| 6f 77 20 2b 20 69 74 65 | 6d 20 32 20 6f 66 20 74 |ow + ite|m 2 of t|
|00002da0| 68 65 20 63 6c 69 63 6b | 6c 6f 63 2c c2 0d 69 74 |he click|loc,..it|
|00002db0| 65 6d 20 31 20 6f 66 20 | 72 65 63 74 20 6f 66 20 |em 1 of |rect of |
|00002dc0| 63 64 20 77 69 6e 64 6f | 77 20 2b 20 69 74 65 6d |cd windo|w + item|
|00002dd0| 20 31 20 6f 66 20 74 68 | 65 20 63 6c 69 63 6b 6c | 1 of th|e clickl|
|00002de0| 6f 63 29 0d 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |oc)..put| it into|
|00002df0| 20 72 65 73 0d 70 75 74 | 20 69 74 65 6d 20 31 20 | res.put| item 1 |
|00002e00| 6f 66 20 69 74 20 69 6e | 74 6f 20 6e 0d 70 75 74 |of it in|to n.put|
|00002e10| 20 6c 69 6e 65 20 6e 20 | 6f 66 20 74 68 65 4d 65 | line n |of theMe|
|00002e20| 6e 75 20 69 6e 74 6f 20 | 74 68 65 4c 69 6e 65 0d |nu into |theLine.|
|00002e30| 69 66 20 74 68 65 4c 69 | 6e 65 20 3d 20 22 22 20 |if theLi|ne = "" |
|00002e40| 74 68 65 6e 20 65 78 69 | 74 20 57 69 6e 45 64 69 |then exi|t WinEdi|
|00002e50| 74 4d 65 6e 75 0d 70 75 | 74 20 69 74 65 6d 20 31 |tMenu.pu|t item 1|
|00002e60| 20 6f 66 20 74 68 65 4c | 69 6e 65 20 69 6e 74 6f | of theL|ine into|
|00002e70| 20 70 72 6f 70 65 72 74 | 79 4e 61 6d 65 0d 70 75 | propert|yName.pu|
|00002e80| 74 20 22 22 20 69 6e 74 | 6f 20 74 68 65 53 65 74 |t "" int|o theSet|
|00002e90| 50 70 74 4d 65 73 73 0d | 0d 69 66 20 70 72 6f 70 |PptMess.|.if prop|
|00002ea0| 65 72 74 79 4e 61 6d 65 | 20 69 73 20 22 52 65 63 |ertyName| is "Rec|
|00002eb0| 74 61 6e 67 6c 65 c9 22 | 20 74 68 65 6e 0d 70 75 |tangle."| then.pu|
|00002ec0| 74 20 22 52 65 63 74 22 | 20 69 6e 74 6f 20 70 72 |t "Rect"| into pr|
|00002ed0| 6f 70 65 72 74 79 4e 61 | 6d 65 0d 61 73 6b 20 22 |opertyNa|me.ask "|
|00002ee0| 45 6e 74 65 72 20 6e 65 | 77 20 72 65 63 74 20 3a |Enter ne|w rect :|
|00002ef0| 22 20 77 69 74 68 20 72 | 65 63 74 20 6f 66 20 77 |" with r|ect of w|
|00002f00| 69 6e 64 6f 77 20 77 69 | 6e 64 4e 61 6d 65 0d 69 |indow wi|ndName.i|
|00002f10| 66 20 69 74 20 3d 20 22 | 22 20 74 68 65 6e 20 65 |f it = "|" then e|
|00002f20| 78 69 74 20 74 6f 20 68 | 79 70 65 72 43 61 72 64 |xit to h|yperCard|
|00002f30| 0d 70 75 74 20 51 28 69 | 74 29 20 69 6e 74 6f 20 |.put Q(i|t) into |
|00002f40| 70 72 6f 70 65 72 74 79 | 56 61 6c 75 65 0d 0d 65 |property|Value..e|
|00002f50| 6c 73 65 20 69 66 20 70 | 72 6f 70 65 72 74 79 4e |lse if p|ropertyN|
|00002f60| 61 6d 65 20 63 6f 6e 74 | 61 69 6e 73 20 22 57 69 |ame cont|ains "Wi|
|00002f70| 6e 64 6f 77 20 53 74 79 | 6c 65 22 20 74 68 65 6e |ndow Sty|le" then|
|00002f80| 0d 69 66 20 74 68 65 4c | 69 6e 65 20 63 6f 6e 74 |.if theL|ine cont|
|00002f90| 61 69 6e 73 20 74 68 65 | 43 68 65 63 6b 4d 61 72 |ains the|CheckMar|
|00002fa0| 6b 20 74 68 65 6e 20 2d | 2d 20 62 6f 66 0d 53 65 |k then -|- bof.Se|
|00002fb0| 74 57 69 6e 50 70 74 20 | 77 69 6e 64 4e 61 6d 65 |tWinPpt |windName|
|00002fc0| 2c 22 50 72 6f 63 49 64 | 22 2c 32 30 35 34 0d 65 |,"ProcId|",2054.e|
|00002fd0| 6c 73 65 0d 53 65 74 57 | 69 6e 50 70 74 20 77 69 |lse.SetW|inPpt wi|
|00002fe0| 6e 64 4e 61 6d 65 2c 22 | 50 72 6f 63 49 64 22 2c |ndName,"|ProcId",|
|00002ff0| 32 30 35 32 0d 65 6e 64 | 20 69 66 0d 65 78 69 74 |2052.end| if.exit|
|00003000| 20 77 69 6e 45 64 69 74 | 4d 65 6e 75 0d 0d 65 6c | winEdit|Menu..el|
|00003010| 73 65 20 69 66 20 70 72 | 6f 70 65 72 74 79 4e 61 |se if pr|opertyNa|
|00003020| 6d 65 20 3d 20 22 43 75 | 72 73 6f 72 22 20 74 68 |me = "Cu|rsor" th|
|00003030| 65 6e 0d 70 75 74 20 69 | 74 65 6d 20 28 69 74 65 |en.put i|tem (ite|
|00003040| 6d 20 32 20 6f 66 20 72 | 65 73 29 20 2d 31 20 6f |m 2 of r|es) -1 o|
|00003050| 66 20 63 75 72 73 6f 72 | 49 64 4c 69 73 74 20 69 |f cursor|IdList i|
|00003060| 6e 74 6f 20 70 72 6f 70 | 65 72 74 79 56 61 6c 75 |nto prop|ertyValu|
|00003070| 65 0d 0d 65 6c 73 65 20 | 69 66 20 70 72 6f 70 65 |e..else |if prope|
|00003080| 72 74 79 4e 61 6d 65 20 | 3d 20 22 50 49 43 54 c9 |rtyName |= "PICT.|
|00003090| 22 20 74 68 65 6e 0d 70 | 75 74 20 22 50 49 43 54 |" then.p|ut "PICT|
|000030a0| 22 20 69 6e 74 6f 20 70 | 72 6f 70 65 72 74 79 4e |" into p|ropertyN|
|000030b0| 61 6d 65 0d 61 73 6b 20 | 22 45 6e 74 65 72 20 69 |ame.ask |"Enter i|
|000030c0| 64 20 6f 66 20 74 68 65 | 20 50 49 43 54 20 72 65 |d of the| PICT re|
|000030d0| 73 6f 75 72 63 65 22 20 | 77 69 74 68 20 50 49 43 |source" |with PIC|
|000030e0| 54 20 6f 66 20 77 69 6e | 64 6f 77 20 77 69 6e 64 |T of win|dow wind|
|000030f0| 6e 61 6d 65 0d 69 66 20 | 74 68 65 20 72 65 73 75 |name.if |the resu|
|00003100| 6c 74 20 3d 20 22 43 61 | 6e 63 65 6c 22 20 74 68 |lt = "Ca|ncel" th|
|00003110| 65 6e 20 65 78 69 74 20 | 74 6f 20 68 79 70 65 72 |en exit |to hyper|
|00003120| 63 61 72 64 0d 69 66 20 | 69 74 20 3d 20 22 22 20 |card.if |it = "" |
|00003130| 74 68 65 6e 0d 70 75 74 | 20 30 20 69 6e 74 6f 20 |then.put| 0 into |
|00003140| 70 72 6f 70 65 72 74 79 | 56 61 6c 75 65 0d 65 6c |property|Value.el|
|00003150| 73 65 0d 70 75 74 20 69 | 74 20 69 6e 74 6f 20 70 |se.put i|t into p|
|00003160| 72 6f 70 65 72 74 79 56 | 61 6c 75 65 0d 65 6e 64 |ropertyV|alue.end|
|00003170| 20 69 66 0d 0d 65 6c 73 | 65 20 69 66 20 70 72 6f | if..els|e if pro|
|00003180| 70 65 72 74 79 4e 61 6d | 65 20 63 6f 6e 74 61 69 |pertyNam|e contai|
|00003190| 6e 73 20 22 41 6c 77 61 | 79 73 20 62 65 68 69 6e |ns "Alwa|ys behin|
|000031a0| 64 22 20 74 68 65 6e 0d | 70 75 74 20 28 63 68 61 |d" then.|put (cha|
|000031b0| 72 20 31 20 74 6f 20 32 | 20 6f 66 20 70 72 6f 70 |r 1 to 2| of prop|
|000031c0| 65 72 74 79 4e 61 6d 65 | 20 ad 20 74 68 65 43 68 |ertyName| . theCh|
|000031d0| 65 63 6b 4d 61 72 6b 29 | 20 69 6e 74 6f 20 70 72 |eckMark)| into pr|
|000031e0| 6f 70 65 72 74 79 56 61 | 6c 75 65 0d 70 75 74 20 |opertyVa|lue.put |
|000031f0| 22 41 6c 77 61 79 73 42 | 65 68 69 6e 64 22 20 69 |"AlwaysB|ehind" i|
|00003200| 6e 74 6f 20 70 72 6f 70 | 65 72 74 79 4e 61 6d 65 |nto prop|ertyName|
|00003210| 0d 0d 65 6c 73 65 20 69 | 66 20 70 72 6f 70 65 72 |..else i|f proper|
|00003220| 74 79 4e 61 6d 65 20 63 | 6f 6e 74 61 69 6e 73 20 |tyName c|ontains |
|00003230| 22 4e 6f 20 63 6c 6f 73 | 65 20 62 6f 78 22 20 74 |"No clos|e box" t|
|00003240| 68 65 6e 0d 70 75 74 20 | 28 63 68 61 72 20 31 20 |hen.put |(char 1 |
|00003250| 74 6f 20 32 20 6f 66 20 | 70 72 6f 70 65 72 74 79 |to 2 of |property|
|00003260| 4e 61 6d 65 20 3d 20 74 | 68 65 43 68 65 63 6b 4d |Name = t|heCheckM|
|00003270| 61 72 6b 29 20 69 6e 74 | 6f 20 70 72 6f 70 65 72 |ark) int|o proper|
|00003280| 74 79 56 61 6c 75 65 0d | 70 75 74 20 22 43 6c 6f |tyValue.|put "Clo|
|00003290| 73 65 42 6f 78 22 20 69 | 6e 74 6f 20 70 72 6f 70 |seBox" i|nto prop|
|000032a0| 65 72 74 79 4e 61 6d 65 | 0d 0d 65 6c 73 65 20 69 |ertyName|..else i|
|000032b0| 66 20 70 72 6f 70 65 72 | 74 79 4e 61 6d 65 20 63 |f proper|tyName c|
|000032c0| 6f 6e 74 61 69 6e 73 20 | 22 48 69 64 64 65 6e 22 |ontains |"Hidden"|
|000032d0| 20 74 68 65 6e 0d 69 66 | 20 63 68 61 72 20 31 20 | then.if| char 1 |
|000032e0| 74 6f 20 32 20 6f 66 20 | 70 72 6f 70 65 72 74 79 |to 2 of |property|
|000032f0| 4e 61 6d 65 20 3d 20 74 | 68 65 43 68 65 63 6b 4d |Name = t|heCheckM|
|00003300| 61 72 6b 20 74 68 65 6e | 0d 70 75 74 20 22 73 68 |ark then|.put "sh|
|00003310| 6f 77 20 77 69 6e 64 6f | 77 22 26 26 51 28 77 69 |ow windo|w"&&Q(wi|
|00003320| 6e 64 4e 61 6d 65 29 20 | 69 6e 74 6f 20 74 68 65 |ndName) |into the|
|00003330| 53 65 74 50 70 74 4d 65 | 73 73 0d 65 6c 73 65 0d |SetPptMe|ss.else.|
|00003340| 70 75 74 20 22 68 69 64 | 65 20 77 69 6e 64 6f 77 |put "hid|e window|
|00003350| 22 26 26 51 28 77 69 6e | 64 4e 61 6d 65 29 20 69 |"&&Q(win|dName) i|
|00003360| 6e 74 6f 20 74 68 65 53 | 65 74 50 70 74 4d 65 73 |nto theS|etPptMes|
|00003370| 73 0d 65 6e 64 20 69 66 | 0d 0d 65 6c 73 65 20 69 |s.end if|..else i|
|00003380| 66 20 70 72 6f 70 65 72 | 74 79 4e 61 6d 65 20 69 |f proper|tyName i|
|00003390| 73 20 22 4e 61 6d 65 c9 | 22 20 74 68 65 6e 0d 70 |s "Name.|" then.p|
|000033a0| 75 74 20 22 4e 61 6d 65 | 22 20 69 6e 74 6f 20 70 |ut "Name|" into p|
|000033b0| 72 6f 70 65 72 74 79 4e | 61 6d 65 0d 61 73 6b 20 |ropertyN|ame.ask |
|000033c0| 22 45 6e 74 65 72 20 6e | 65 77 20 6e 61 6d 65 20 |"Enter n|ew name |
|000033d0| 3a 22 20 77 69 74 68 20 | 77 69 6e 64 4e 61 6d 65 |:" with |windName|
|000033e0| 0d 69 66 20 69 74 20 3d | 20 22 22 20 74 68 65 6e |.if it =| "" then|
|000033f0| 20 65 78 69 74 20 74 6f | 20 68 79 70 65 72 43 61 | exit to| hyperCa|
|00003400| 72 64 0d 70 75 74 20 51 | 28 69 74 29 20 69 6e 74 |rd.put Q|(it) int|
|00003410| 6f 20 70 72 6f 70 65 72 | 74 79 56 61 6c 75 65 0d |o proper|tyValue.|
|00003420| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 77 69 |if there| is a wi|
|00003430| 6e 64 6f 77 20 22 43 68 | 69 63 6c 65 74 74 65 20 |ndow "Ch|iclette |
|00003440| 45 64 69 74 6f 72 22 20 | 74 68 65 6e 0d 73 65 74 |Editor" |then.set|
|00003450| 20 42 74 6e 31 4e 61 6d | 65 20 6f 66 20 77 69 6e | Btn1Nam|e of win|
|00003460| 64 6f 77 20 22 43 68 69 | 63 6c 65 74 74 65 20 45 |dow "Chi|clette E|
|00003470| 64 69 74 6f 72 22 20 74 | 6f 20 69 74 0d 65 6e 64 |ditor" t|o it.end|
|00003480| 20 69 66 0d 65 6e 64 20 | 69 66 0d 0d 69 66 20 74 | if.end |if..if t|
|00003490| 68 65 53 65 74 50 70 74 | 4d 65 73 73 20 3d 20 22 |heSetPpt|Mess = "|
|000034a0| 22 20 74 68 65 6e 0d 70 | 75 74 20 22 73 65 74 22 |" then.p|ut "set"|
|000034b0| 20 26 26 20 70 72 6f 70 | 65 72 74 79 4e 61 6d 65 | && prop|ertyName|
|000034c0| 20 26 26 20 22 6f 66 20 | 77 69 6e 64 6f 77 22 20 | && "of |window" |
|000034d0| 26 26 20 51 28 77 69 6e | 64 4e 61 6d 65 29 20 26 |&& Q(win|dName) &|
|000034e0| 26 20 22 74 6f 22 20 c2 | 0d 26 26 20 70 72 6f 70 |& "to" .|.&& prop|
|000034f0| 65 72 74 79 56 61 6c 75 | 65 20 69 6e 74 6f 20 74 |ertyValu|e into t|
|00003500| 68 65 53 65 74 50 70 74 | 4d 65 73 73 0d 65 6e 64 |heSetPpt|Mess.end|
|00003510| 20 69 66 0d 0d 69 66 20 | 70 75 74 6d 65 73 73 61 | if..if |putmessa|
|00003520| 67 65 73 28 29 20 74 68 | 65 6e 20 70 75 74 20 22 |ges() th|en put "|
|00003530| 2d 2d 22 26 26 74 68 65 | 53 65 74 50 70 74 4d 65 |--"&&the|SetPptMe|
|00003540| 73 73 0d 64 6f 20 74 68 | 65 53 65 74 50 70 74 4d |ss.do th|eSetPptM|
|00003550| 65 73 73 0d 65 6e 64 20 | 57 69 6e 45 64 69 74 4d |ess.end |WinEditM|
|00003560| 65 6e 75 0d 0d 6f 6e 20 | 53 65 74 57 69 6e 50 70 |enu..on |SetWinPp|
|00003570| 74 20 77 69 6e 64 4e 61 | 6d 65 2c 50 72 6f 70 65 |t windNa|me,Prope|
|00003580| 72 74 79 4e 61 6d 65 2c | 50 72 6f 70 65 72 74 79 |rtyName,|Property|
|00003590| 56 61 6c 75 65 0d 2d 2d | 20 54 68 65 72 65 20 69 |Value.--| There i|
|000035a0| 73 20 61 20 70 72 6f 70 | 65 72 74 79 20 74 68 61 |s a prop|erty tha|
|000035b0| 74 20 43 68 69 63 6c 65 | 74 74 65 20 63 61 6e 6e |t Chicle|tte cann|
|000035c0| 6f 74 20 73 65 74 20 3a | 20 74 68 65 20 50 72 6f |ot set :| the Pro|
|000035d0| 63 49 64 0d 2d 2d 20 54 | 68 69 73 20 68 61 6e 64 |cId.-- T|his hand|
|000035e0| 6c 65 72 20 73 65 74 73 | 20 73 75 63 68 20 61 20 |ler sets| such a |
|000035f0| 70 72 6f 70 65 72 74 79 | 2e 0d 2d 2d 20 49 74 20 |property|..-- It |
|00003600| 6d 75 73 74 20 3a 0d 2d | 2d 20 31 29 20 73 61 76 |must :.-|- 1) sav|
|00003610| 65 20 74 68 65 20 64 65 | 66 69 6e 69 74 69 6f 6e |e the de|finition|
|00003620| 20 6f 66 20 74 68 65 20 | 70 61 6c 65 74 74 65 0d | of the |palette.|
|00003630| 2d 2d 20 32 29 20 63 68 | 61 6e 67 65 20 74 68 69 |-- 2) ch|ange thi|
|00003640| 73 20 64 65 66 69 6e 69 | 74 69 6f 6e 0d 2d 2d 20 |s defini|tion.-- |
|00003650| 33 29 20 63 6c 6f 73 65 | 20 74 68 65 20 77 69 6e |3) close| the win|
|00003660| 64 6f 77 0d 2d 2d 20 34 | 29 20 6f 70 65 6e 20 74 |dow.-- 4|) open t|
|00003670| 68 65 20 70 61 6c 65 74 | 74 65 20 77 69 74 68 20 |he palet|te with |
|00003680| 74 68 65 20 6e 65 77 20 | 64 65 66 69 6e 69 74 69 |the new |definiti|
|00003690| 6f 6e 0d 2d 2d 20 42 79 | 20 63 6f 6e 76 65 6e 74 |on.-- By| convent|
|000036a0| 69 6f 6e 2c 0d 2d 2d 20 | 61 20 50 72 6f 70 65 72 |ion,.-- |a Proper|
|000036b0| 74 79 56 61 6c 75 65 20 | 69 71 75 61 6c 20 74 6f |tyValue |iqual to|
|000036c0| 20 22 a5 22 20 6d 65 61 | 6e 73 20 64 65 66 61 75 | "." mea|ns defau|
|000036d0| 6c 74 20 76 61 6c 75 65 | 20 6f 66 20 74 68 65 20 |lt value| of the |
|000036e0| 70 72 6f 70 65 72 74 79 | 0d 69 66 20 70 75 74 6d |property|.if putm|
|000036f0| 65 73 73 61 67 65 73 28 | 29 20 74 68 65 6e 20 70 |essages(|) then p|
|00003700| 75 74 20 22 2d 2d 22 26 | 26 50 72 6f 70 65 72 74 |ut "--"&|&Propert|
|00003710| 79 4e 61 6d 65 26 26 22 | 63 61 6e 6e 6f 74 20 62 |yName&&"|cannot b|
|00003720| 65 20 73 65 74 20 3a 20 | 6d 75 73 74 20 63 6c 6f |e set : |must clo|
|00003730| 73 65 20 77 69 6e 64 6f | 77 20 61 6e 64 20 63 61 |se windo|w and ca|
|00003740| 6c 6c 20 43 68 69 63 6c | 65 74 74 65 20 61 67 61 |ll Chicl|ette aga|
|00003750| 69 6e 2e 22 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |in.".set| cursor |
|00003760| 74 6f 20 62 75 73 79 0d | 2d 2d 20 31 29 20 73 61 |to busy.|-- 1) sa|
|00003770| 76 65 20 74 68 65 20 64 | 65 66 69 6e 69 74 69 6f |ve the d|efinitio|
|00003780| 6e 20 6f 66 20 74 68 65 | 20 70 61 6c 65 74 74 65 |n of the| palette|
|00003790| 0d 70 75 74 20 64 65 66 | 20 6f 66 20 77 69 6e 64 |.put def| of wind|
|000037a0| 6f 77 20 77 69 6e 64 4e | 61 6d 65 20 69 6e 74 6f |ow windN|ame into|
|000037b0| 20 77 69 6e 64 65 66 0d | 2d 2d 20 32 29 20 63 68 | windef.|-- 2) ch|
|000037c0| 61 6e 67 65 20 74 68 69 | 73 20 64 65 66 69 6e 69 |ange thi|s defini|
|000037d0| 74 69 6f 6e 0d 70 75 74 | 20 6c 69 6e 65 20 31 20 |tion.put| line 1 |
|000037e0| 6f 66 20 77 69 6e 64 65 | 66 20 69 6e 74 6f 20 78 |of winde|f into x|
|000037f0| 0d 67 65 74 20 6f 66 66 | 73 65 74 28 22 a5 22 26 |.get off|set("."&|
|00003800| 50 72 6f 70 65 72 74 79 | 4e 61 6d 65 2c 22 a5 22 |Property|Name,"."|
|00003810| 26 78 29 0d 69 66 20 69 | 74 20 3d 20 30 20 74 68 |&x).if i|t = 0 th|
|00003820| 65 6e 0d 69 66 20 50 72 | 6f 70 65 72 74 79 56 61 |en.if Pr|opertyVa|
|00003830| 6c 75 65 20 ad 20 22 a5 | 22 20 74 68 65 6e 0d 70 |lue . ".|" then.p|
|00003840| 75 74 20 22 a5 22 26 50 | 72 6f 70 65 72 74 79 4e |ut "."&P|ropertyN|
|00003850| 61 6d 65 26 22 3a 22 26 | 50 72 6f 70 65 72 74 79 |ame&":"&|Property|
|00003860| 56 61 6c 75 65 20 61 66 | 74 65 72 20 78 0d 65 6e |Value af|ter x.en|
|00003870| 64 20 69 66 0d 65 6c 73 | 65 0d 70 75 74 20 63 68 |d if.els|e.put ch|
|00003880| 61 72 20 31 20 74 6f 20 | 69 74 2d 32 20 6f 66 20 |ar 1 to |it-2 of |
|00003890| 78 20 69 6e 74 6f 20 79 | 0d 64 65 6c 65 74 65 20 |x into y|.delete |
|000038a0| 63 68 61 72 20 31 20 74 | 6f 20 69 74 2d 31 20 6f |char 1 t|o it-1 o|
|000038b0| 66 20 78 0d 67 65 74 20 | 6f 66 66 73 65 74 28 22 |f x.get |offset("|
|000038c0| a5 22 2c 78 29 0d 69 66 | 20 69 74 20 ad 20 30 20 |.",x).if| it . 0 |
|000038d0| 74 68 65 6e 20 64 65 6c | 65 74 65 20 63 68 61 72 |then del|ete char|
|000038e0| 20 31 20 74 6f 20 69 74 | 2d 31 20 6f 66 20 78 0d | 1 to it|-1 of x.|
|000038f0| 69 66 20 50 72 6f 70 65 | 72 74 79 56 61 6c 75 65 |if Prope|rtyValue|
|00003900| 20 ad 20 22 a5 22 20 74 | 68 65 6e 0d 70 75 74 20 | . "." t|hen.put |
|00003910| 79 20 26 20 22 a5 22 26 | 50 72 6f 70 65 72 74 79 |y & "."&|Property|
|00003920| 4e 61 6d 65 26 22 3a 22 | 26 50 72 6f 70 65 72 74 |Name&":"|&Propert|
|00003930| 79 56 61 6c 75 65 20 62 | 65 66 6f 72 65 20 78 0d |yValue b|efore x.|
|00003940| 65 6c 73 65 0d 70 75 74 | 20 79 20 62 65 66 6f 72 |else.put| y befor|
|00003950| 65 20 78 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |e x.end |if.end i|
|00003960| 66 0d 70 75 74 20 78 20 | 69 6e 74 6f 20 6c 69 6e |f.put x |into lin|
|00003970| 65 20 31 20 6f 66 20 77 | 69 6e 64 65 66 0d 2d 2d |e 1 of w|indef.--|
|00003980| 20 33 29 20 63 6c 6f 73 | 65 20 74 68 65 20 77 69 | 3) clos|e the wi|
|00003990| 6e 64 6f 77 0d 2d 2d 20 | 77 65 20 64 6f 65 73 6e |ndow.-- |we doesn|
|000039a0| 27 74 20 77 61 6e 74 20 | 74 6f 20 70 72 6f 70 6f |'t want |to propo|
|000039b0| 73 65 20 74 6f 20 73 61 | 76 65 20 63 68 61 6e 67 |se to sa|ve chang|
|000039c0| 65 20 3a 0d 2d 2d 20 73 | 65 65 20 68 61 6e 64 6c |e :.-- s|ee handl|
|000039d0| 65 72 20 43 6c 6f 73 65 | 43 68 69 63 6c 65 74 74 |er Close|Chiclett|
|000039e0| 65 20 69 6e 20 74 68 65 | 20 62 67 20 6f 66 20 73 |e in the| bg of s|
|000039f0| 74 61 63 6b 20 22 63 68 | 69 63 6c 65 74 74 65 22 |tack "ch|iclette"|
|00003a00| 0d 67 6c 6f 62 61 6c 20 | 4e 6f 53 61 76 65 0d 70 |.global |NoSave.p|
|00003a10| 75 74 20 74 72 75 65 20 | 69 6e 74 6f 20 4e 6f 53 |ut true |into NoS|
|00003a20| 61 76 65 0d 63 6c 6f 73 | 65 20 77 69 6e 64 6f 77 |ave.clos|e window|
|00003a30| 20 77 69 6e 64 6e 61 6d | 65 0d 2d 2d 20 34 29 20 | windnam|e.-- 4) |
|00003a40| 6f 70 65 6e 20 74 68 65 | 20 70 61 6c 65 74 74 65 |open the| palette|
|00003a50| 20 77 69 74 68 20 74 68 | 65 20 6e 65 77 20 64 65 | with th|e new de|
|00003a60| 66 69 6e 69 74 69 6f 6e | 0d 2d 2d 20 77 65 20 64 |finition|.-- we d|
|00003a70| 6f 65 73 6e 27 74 20 77 | 61 6e 74 20 74 6f 20 63 |oesn't w|ant to c|
|00003a80| 68 65 63 6b 20 69 66 20 | 74 68 65 72 65 20 61 72 |heck if |there ar|
|00003a90| 65 20 73 65 76 65 72 61 | 6c 20 77 69 6e 64 6f 77 |e severa|l window|
|00003aa0| 73 20 77 69 74 68 20 73 | 61 6d 65 20 6e 61 6d 65 |s with s|ame name|
|00003ab0| 0d 2d 2d 20 67 6c 6f 62 | 61 6c 20 74 68 65 4c 6f |.-- glob|al theLo|
|00003ac0| 63 6b 4d 65 73 73 43 68 | 69 63 0d 2d 2d 20 70 75 |ckMessCh|ic.-- pu|
|00003ad0| 74 20 74 72 75 65 20 69 | 6e 74 6f 20 74 68 65 4c |t true i|nto theL|
|00003ae0| 6f 63 6b 4d 65 73 73 43 | 68 69 63 0d 43 68 69 63 |ockMessC|hic.Chic|
|00003af0| 6c 65 74 74 65 20 77 69 | 6e 64 65 66 0d 2d 2d 20 |lette wi|ndef.-- |
|00003b00| 70 75 74 20 66 61 6c 73 | 65 20 69 6e 74 6f 20 74 |put fals|e into t|
|00003b10| 68 65 4c 6f 63 6b 4d 65 | 73 73 43 68 69 63 0d 65 |heLockMe|ssChic.e|
|00003b20| 6e 64 20 53 65 74 57 69 | 6e 50 70 74 0d 0d 2d 2d |nd SetWi|nPpt..--|
|00003b30| 20 48 41 4e 44 4c 45 52 | 53 20 55 53 45 44 20 42 | HANDLER|S USED B|
|00003b40| 59 20 54 48 45 20 50 55 | 4c 4c 20 44 4f 57 4e 20 |Y THE PU|LL DOWN |
|00003b50| 4d 45 4e 55 20 49 4e 54 | 45 52 46 41 43 45 0d 2d |MENU INT|ERFACE.-|
|00003b60| 2d 20 49 4e 20 53 45 54 | 54 49 4e 47 20 50 52 4f |- IN SET|TING PRO|
|00003b70| 50 45 52 54 49 45 53 20 | 4f 46 20 42 55 54 54 4f |PERTIES |OF BUTTO|
|00003b80| 4e 53 20 4f 46 20 41 20 | 50 41 4c 45 54 54 45 2e |NS OF A |PALETTE.|
|00003b90| 0d 2d 2d 20 54 48 45 53 | 45 20 48 41 4e 44 4c 45 |.-- THES|E HANDLE|
|00003ba0| 52 53 20 41 52 45 20 55 | 53 45 44 20 3a 0d 2d 2d |RS ARE U|SED :.--|
|00003bb0| 20 2d 20 42 59 20 54 48 | 45 20 42 54 4e 20 32 20 | - BY TH|E BTN 2 |
|00003bc0| 6f 66 20 74 68 65 20 70 | 61 6c 65 74 74 65 20 22 |of the p|alette "|
|00003bd0| 43 68 69 63 6c 65 74 74 | 65 20 45 64 69 74 6f 72 |Chiclett|e Editor|
|00003be0| 22 0d 2d 2d 20 2d 20 49 | 4e 20 22 53 45 4c 46 20 |".-- - I|N "SELF |
|00003bf0| 45 44 49 54 49 4e 47 20 | 4d 4f 44 45 22 20 28 73 |EDITING |MODE" (s|
|00003c00| 65 65 20 68 61 6e 64 6c | 65 72 20 22 6f 6e 20 4d |ee handl|er "on M|
|00003c10| 44 22 20 6f 66 20 62 61 | 63 6b 67 72 6f 75 6e 64 |D" of ba|ckground|
|00003c20| 20 22 70 61 6c 65 74 74 | 65 22 29 0d 4f 6e 20 42 | "palett|e").On B|
|00003c30| 74 6e 45 64 69 74 4d 65 | 6e 75 20 77 69 6e 64 4e |tnEditMe|nu windN|
|00003c40| 61 6d 65 2c 62 74 6e 4e | 75 6d 0d 67 6c 6f 62 61 |ame,btnN|um.globa|
|00003c50| 6c 20 74 68 65 42 74 6e | 4d 65 6e 75 0d 63 68 65 |l theBtn|Menu.che|
|00003c60| 63 6b 6f 70 65 6e 65 64 | 50 61 6c 65 74 74 65 20 |ckopened|Palette |
|00003c70| 77 69 6e 64 4e 61 6d 65 | 0d 0d 73 65 74 20 63 75 |windName|..set cu|
|00003c80| 72 73 6f 72 20 74 6f 20 | 61 72 72 6f 77 0d 0d 69 |rsor to |arrow..i|
|00003c90| 66 20 74 68 65 42 74 6e | 4d 65 6e 75 20 3d 20 22 |f theBtn|Menu = "|
|00003ca0| 22 20 74 68 65 6e 20 6c | 6f 61 64 42 74 6e 4d 65 |" then l|oadBtnMe|
|00003cb0| 6e 75 0d 70 75 74 20 74 | 68 65 42 74 6e 4d 65 6e |nu.put t|heBtnMen|
|00003cc0| 75 20 69 6e 74 6f 20 42 | 74 6e 45 64 69 74 4d 65 |u into B|tnEditMe|
|00003cd0| 6e 75 0d 0d 70 75 74 20 | 22 21 22 20 26 20 6e 75 |nu..put |"!" & nu|
|00003ce0| 6d 74 6f 63 68 61 72 28 | 31 38 29 20 69 6e 74 6f |mtochar(|18) into|
|00003cf0| 20 74 68 65 43 68 65 63 | 6b 4d 61 72 6b 0d 0d 69 | theChec|kMark..i|
|00003d00| 66 20 74 68 65 20 6d 6f | 75 73 65 20 69 73 20 22 |f the mo|use is "|
|00003d10| 55 70 22 20 74 68 65 6e | 20 61 62 6f 72 74 50 6f |Up" then| abortPo|
|00003d20| 70 0d 0d 64 6f 20 22 67 | 65 74 20 42 74 6e 22 26 |p..do "g|et Btn"&|
|00003d30| 62 74 6e 4e 75 6d 26 22 | 53 68 6f 77 4e 61 6d 65 |btnNum&"|ShowName|
|00003d40| 20 6f 66 20 77 69 6e 64 | 6f 77 20 77 69 6e 64 4e | of wind|ow windN|
|00003d50| 61 6d 65 22 0d 69 66 20 | 69 74 20 74 68 65 6e 20 |ame".if |it then |
|00003d60| 70 75 74 20 74 68 65 43 | 68 65 63 6b 4d 61 72 6b |put theC|heckMark|
|00003d70| 20 62 65 66 6f 72 65 20 | 6c 69 6e 65 20 35 20 6f | before |line 5 o|
|00003d80| 66 20 42 74 6e 45 64 69 | 74 4d 65 6e 75 0d 0d 64 |f BtnEdi|tMenu..d|
|00003d90| 6f 20 22 67 65 74 20 42 | 74 6e 22 26 62 74 6e 4e |o "get B|tn"&btnN|
|00003da0| 75 6d 26 22 41 75 74 6f | 48 69 6c 69 74 65 20 6f |um&"Auto|Hilite o|
|00003db0| 66 20 77 69 6e 64 6f 77 | 20 77 69 6e 64 4e 61 6d |f window| windNam|
|00003dc0| 65 22 0d 69 66 20 69 74 | 20 74 68 65 6e 20 70 75 |e".if it| then pu|
|00003dd0| 74 20 74 68 65 43 68 65 | 63 6b 4d 61 72 6b 20 62 |t theChe|ckMark b|
|00003de0| 65 66 6f 72 65 20 6c 69 | 6e 65 20 36 20 6f 66 20 |efore li|ne 6 of |
|00003df0| 42 74 6e 45 64 69 74 4d | 65 6e 75 0d 0d 64 6f 20 |BtnEditM|enu..do |
|00003e00| 22 67 65 74 20 42 74 6e | 22 26 62 74 6e 4e 75 6d |"get Btn|"&btnNum|
|00003e10| 26 22 48 69 6c 69 74 65 | 20 6f 66 20 77 69 6e 64 |&"Hilite| of wind|
|00003e20| 6f 77 20 77 69 6e 64 4e | 61 6d 65 22 0d 69 66 20 |ow windN|ame".if |
|00003e30| 69 74 20 74 68 65 6e 20 | 70 75 74 20 74 68 65 43 |it then |put theC|
|00003e40| 68 65 63 6b 4d 61 72 6b | 20 62 65 66 6f 72 65 20 |heckMark| before |
|00003e50| 6c 69 6e 65 20 37 20 6f | 66 20 42 74 6e 45 64 69 |line 7 o|f BtnEdi|
|00003e60| 74 4d 65 6e 75 0d 0d 64 | 6f 20 22 67 65 74 20 42 |tMenu..d|o "get B|
|00003e70| 74 6e 22 26 62 74 6e 4e | 75 6d 26 22 47 72 61 79 |tn"&btnN|um&"Gray|
|00003e80| 65 64 4f 75 74 20 6f 66 | 20 77 69 6e 64 6f 77 20 |edOut of| window |
|00003e90| 77 69 6e 64 4e 61 6d 65 | 22 0d 69 66 20 69 74 20 |windName|".if it |
|00003ea0| 74 68 65 6e 20 70 75 74 | 20 74 68 65 43 68 65 63 |then put| theChec|
|00003eb0| 6b 4d 61 72 6b 20 62 65 | 66 6f 72 65 20 6c 69 6e |kMark be|fore lin|
|00003ec0| 65 20 38 20 6f 66 20 42 | 74 6e 45 64 69 74 4d 65 |e 8 of B|tnEditMe|
|00003ed0| 6e 75 0d 0d 64 6f 20 22 | 67 65 74 20 42 74 6e 22 |nu..do "|get Btn"|
|00003ee0| 26 62 74 6e 4e 75 6d 26 | 22 53 74 79 6c 65 20 6f |&btnNum&|"Style o|
|00003ef0| 66 20 77 69 6e 64 6f 77 | 20 77 69 6e 64 4e 61 6d |f window| windNam|
|00003f00| 65 22 0d 67 65 74 20 6f | 66 66 73 65 74 28 22 2c |e".get o|ffset(",|
|00003f10| 22 26 69 74 2c 42 74 6e | 45 64 69 74 4d 65 6e 75 |"&it,Btn|EditMenu|
|00003f20| 29 0d 69 66 20 69 74 20 | ad 20 30 20 74 68 65 6e |).if it |. 0 then|
|00003f30| 20 70 75 74 20 74 68 65 | 43 68 65 63 6b 4d 61 72 | put the|CheckMar|
|00003f40| 6b 20 61 66 74 65 72 20 | 63 68 61 72 20 69 74 20 |k after |char it |
|00003f50| 6f 66 20 42 74 6e 45 64 | 69 74 4d 65 6e 75 0d 0d |of BtnEd|itMenu..|
|00003f60| 69 66 20 74 68 65 20 6d | 6f 75 73 65 20 69 73 20 |if the m|ouse is |
|00003f70| 22 55 70 22 20 74 68 65 | 6e 20 61 62 6f 72 74 50 |"Up" the|n abortP|
|00003f80| 6f 70 0d 0d 64 6f 20 22 | 67 65 74 20 42 74 6e 22 |op..do "|get Btn"|
|00003f90| 26 62 74 6e 4e 75 6d 26 | 22 56 69 73 69 62 6c 65 |&btnNum&|"Visible|
|00003fa0| 20 6f 66 20 77 69 6e 64 | 6f 77 20 77 69 6e 64 4e | of wind|ow windN|
|00003fb0| 61 6d 65 22 0d 69 66 20 | 69 74 20 74 68 65 6e 20 |ame".if |it then |
|00003fc0| 70 75 74 20 74 68 65 43 | 68 65 63 6b 4d 61 72 6b |put theC|heckMark|
|00003fd0| 20 62 65 66 6f 72 65 20 | 6c 69 6e 65 20 31 30 20 | before |line 10 |
|00003fe0| 6f 66 20 42 74 6e 45 64 | 69 74 4d 65 6e 75 0d 0d |of BtnEd|itMenu..|
|00003ff0| 64 6f 20 22 67 65 74 20 | 42 74 6e 22 26 62 74 6e |do "get |Btn"&btn|
|00004000| 4e 75 6d 26 22 54 65 78 | 74 46 6f 6e 74 20 6f 66 |Num&"Tex|tFont of|
|00004010| 20 77 69 6e 64 6f 77 20 | 77 69 6e 64 4e 61 6d 65 | window |windName|
|00004020| 22 0d 67 65 74 20 6f 66 | 66 73 65 74 28 22 2c 22 |".get of|fset(","|
|00004030| 26 69 74 2c 42 74 6e 45 | 64 69 74 4d 65 6e 75 29 |&it,BtnE|ditMenu)|
|00004040| 0d 69 66 20 69 74 20 ad | 20 30 20 74 68 65 6e 20 |.if it .| 0 then |
|00004050| 70 75 74 20 74 68 65 43 | 68 65 63 6b 4d 61 72 6b |put theC|heckMark|
|00004060| 20 61 66 74 65 72 20 63 | 68 61 72 20 69 74 20 6f | after c|har it o|
|00004070| 66 20 42 74 6e 45 64 69 | 74 4d 65 6e 75 0d 0d 70 |f BtnEdi|tMenu..p|
|00004080| 75 74 20 22 50 6c 61 69 | 6e 2c 42 6f 6c 64 2c 49 |ut "Plai|n,Bold,I|
|00004090| 74 61 6c 69 63 2c 55 6e | 64 65 72 6c 69 6e 65 2c |talic,Un|derline,|
|000040a0| 4f 75 74 6c 69 6e 65 2c | 53 68 61 64 6f 77 2c 43 |Outline,|Shadow,C|
|000040b0| 6f 6e 64 65 6e 73 65 2c | 45 78 74 65 6e 64 22 c2 |ondense,|Extend".|
|000040c0| 0d 69 6e 74 6f 20 55 53 | 6c 69 73 74 0d 64 6f 20 |.into US|list.do |
|000040d0| 22 67 65 74 20 42 74 6e | 22 26 62 74 6e 4e 75 6d |"get Btn|"&btnNum|
|000040e0| 26 22 54 65 78 74 53 74 | 79 6c 65 20 6f 66 20 77 |&"TextSt|yle of w|
|000040f0| 69 6e 64 6f 77 20 77 69 | 6e 64 4e 61 6d 65 22 0d |indow wi|ndName".|
|00004100| 70 75 74 20 69 74 20 69 | 6e 74 6f 20 78 0d 72 65 |put it i|nto x.re|
|00004110| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 31 20 |peat wit|h i = 1 |
|00004120| 74 6f 20 6e 75 6d 62 65 | 72 20 6f 66 20 69 74 65 |to numbe|r of ite|
|00004130| 6d 73 20 6f 66 20 55 53 | 6c 69 73 74 0d 69 66 20 |ms of US|list.if |
|00004140| 69 74 65 6d 20 69 20 6f | 66 20 55 53 6c 69 73 74 |item i o|f USlist|
|00004150| 20 69 73 20 69 6e 20 78 | 20 74 68 65 6e 20 c2 0d | is in x| then ..|
|00004160| 70 75 74 20 74 68 65 43 | 68 65 63 6b 4d 61 72 6b |put theC|heckMark|
|00004170| 20 62 65 66 6f 72 65 20 | 69 74 65 6d 20 69 2b 31 | before |item i+1|
|00004180| 20 6f 66 20 6c 69 6e 65 | 20 31 33 20 6f 66 20 42 | of line| 13 of B|
|00004190| 74 6e 45 64 69 74 4d 65 | 6e 75 0d 65 6e 64 20 72 |tnEditMe|nu.end r|
|000041a0| 65 70 65 61 74 0d 0d 69 | 66 20 74 68 65 20 6d 6f |epeat..i|f the mo|
|000041b0| 75 73 65 20 69 73 20 22 | 55 70 22 20 74 68 65 6e |use is "|Up" then|
|000041c0| 20 61 62 6f 72 74 50 6f | 70 0d 0d 64 6f 20 22 67 | abortPo|p..do "g|
|000041d0| 65 74 20 42 74 6e 22 26 | 62 74 6e 4e 75 6d 26 22 |et Btn"&|btnNum&"|
|000041e0| 54 65 78 74 53 69 7a 65 | 20 6f 66 20 77 69 6e 64 |TextSize| of wind|
|000041f0| 6f 77 20 77 69 6e 64 4e | 61 6d 65 22 0d 67 65 74 |ow windN|ame".get|
|00004200| 20 6f 66 66 73 65 74 28 | 22 2c 22 26 69 74 2c 42 | offset(|","&it,B|
|00004210| 74 6e 45 64 69 74 4d 65 | 6e 75 29 0d 69 66 20 69 |tnEditMe|nu).if i|
|00004220| 74 20 ad 20 30 20 74 68 | 65 6e 0d 70 75 74 20 74 |t . 0 th|en.put t|
|00004230| 68 65 43 68 65 63 6b 4d | 61 72 6b 20 61 66 74 65 |heCheckM|ark afte|
|00004240| 72 20 63 68 61 72 20 69 | 74 20 6f 66 20 42 74 6e |r char i|t of Btn|
|00004250| 45 64 69 74 4d 65 6e 75 | 0d 65 6c 73 65 0d 70 75 |EditMenu|.else.pu|
|00004260| 74 20 74 68 65 43 68 65 | 63 6b 4d 61 72 6b 20 62 |t theChe|ckMark b|
|00004270| 65 66 6f 72 65 20 6c 61 | 73 74 20 69 74 65 6d 20 |efore la|st item |
|00004280| 6f 66 20 6c 69 6e 65 20 | 31 34 20 6f 66 20 42 74 |of line |14 of Bt|
|00004290| 6e 45 64 69 74 4d 65 6e | 75 0d 65 6e 64 20 69 66 |nEditMen|u.end if|
|000042a0| 0d 0d 64 6f 20 22 67 65 | 74 20 42 74 6e 22 26 62 |..do "ge|t Btn"&b|
|000042b0| 74 6e 4e 75 6d 26 22 54 | 65 78 74 41 6c 69 67 6e |tnNum&"T|extAlign|
|000042c0| 20 6f 66 20 77 69 6e 64 | 6f 77 20 77 69 6e 64 4e | of wind|ow windN|
|000042d0| 61 6d 65 22 0d 69 66 20 | 69 74 20 3d 20 22 4c 65 |ame".if |it = "Le|
|000042e0| 66 74 22 20 74 68 65 6e | 20 67 65 74 20 32 0d 65 |ft" then| get 2.e|
|000042f0| 6c 73 65 20 69 66 20 69 | 74 20 3d 20 22 43 65 6e |lse if i|t = "Cen|
|00004300| 74 65 72 22 20 74 68 65 | 6e 20 67 65 74 20 33 0d |ter" the|n get 3.|
|00004310| 65 6c 73 65 20 67 65 74 | 20 34 0d 70 75 74 20 74 |else get| 4.put t|
|00004320| 68 65 43 68 65 63 6b 4d | 61 72 6b 20 62 65 66 6f |heCheckM|ark befo|
|00004330| 72 65 20 69 74 65 6d 20 | 69 74 20 6f 66 20 6c 69 |re item |it of li|
|00004340| 6e 65 20 31 35 20 6f 66 | 20 42 74 6e 45 64 69 74 |ne 15 of| BtnEdit|
|00004350| 4d 65 6e 75 0d 0d 64 6f | 20 22 67 65 74 20 42 74 |Menu..do| "get Bt|
|00004360| 6e 22 26 62 74 6e 4e 75 | 6d 26 22 4d 44 6d 65 73 |n"&btnNu|m&"MDmes|
|00004370| 73 20 6f 66 20 77 69 6e | 64 6f 77 20 77 69 6e 64 |s of win|dow wind|
|00004380| 4e 61 6d 65 22 0d 69 66 | 20 69 74 20 ad 20 22 22 |Name".if| it . ""|
|00004390| 20 74 68 65 6e 20 70 75 | 74 20 74 68 65 43 68 65 | then pu|t theChe|
|000043a0| 63 6b 4d 61 72 6b 20 62 | 65 66 6f 72 65 20 69 74 |ckMark b|efore it|
|000043b0| 65 6d 20 32 20 6f 66 20 | 6c 69 6e 65 20 31 37 20 |em 2 of |line 17 |
|000043c0| 6f 66 20 42 74 6e 45 64 | 69 74 4d 65 6e 75 0d 0d |of BtnEd|itMenu..|
|000043d0| 64 6f 20 22 67 65 74 20 | 42 74 6e 22 26 62 74 6e |do "get |Btn"&btn|
|000043e0| 4e 75 6d 26 22 4d 53 44 | 6d 65 73 73 20 6f 66 20 |Num&"MSD|mess of |
|000043f0| 77 69 6e 64 6f 77 20 77 | 69 6e 64 4e 61 6d 65 22 |window w|indName"|
|00004400| 0d 69 66 20 69 74 20 ad | 20 22 22 20 74 68 65 6e |.if it .| "" then|
|00004410| 20 70 75 74 20 74 68 65 | 43 68 65 63 6b 4d 61 72 | put the|CheckMar|
|00004420| 6b 20 62 65 66 6f 72 65 | 20 69 74 65 6d 20 33 20 |k before| item 3 |
|00004430| 6f 66 20 6c 69 6e 65 20 | 31 37 20 6f 66 20 42 74 |of line |17 of Bt|
|00004440| 6e 45 64 69 74 4d 65 6e | 75 0d 0d 64 6f 20 22 67 |nEditMen|u..do "g|
|00004450| 65 74 20 42 74 6e 22 26 | 62 74 6e 4e 75 6d 26 22 |et Btn"&|btnNum&"|
|00004460| 4d 55 6d 65 73 73 20 6f | 66 20 77 69 6e 64 6f 77 |MUmess o|f window|
|00004470| 20 77 69 6e 64 4e 61 6d | 65 22 0d 69 66 20 69 74 | windNam|e".if it|
|00004480| 20 ad 20 22 22 20 74 68 | 65 6e 20 70 75 74 20 74 | . "" th|en put t|
|00004490| 68 65 43 68 65 63 6b 4d | 61 72 6b 20 62 65 66 6f |heCheckM|ark befo|
|000044a0| 72 65 20 69 74 65 6d 20 | 34 20 6f 66 20 6c 69 6e |re item |4 of lin|
|000044b0| 65 20 31 37 20 6f 66 20 | 42 74 6e 45 64 69 74 4d |e 17 of |BtnEditM|
|000044c0| 65 6e 75 0d 0d 64 6f 20 | 22 67 65 74 20 42 74 6e |enu..do |"get Btn|
|000044d0| 22 26 62 74 6e 4e 75 6d | 26 22 44 69 73 61 62 6c |"&btnNum|&"Disabl|
|000044e0| 65 20 6f 66 20 77 69 6e | 64 6f 77 20 77 69 6e 64 |e of win|dow wind|
|000044f0| 4e 61 6d 65 22 0d 69 66 | 20 69 74 20 74 68 65 6e |Name".if| it then|
|00004500| 20 70 75 74 20 74 68 65 | 43 68 65 63 6b 4d 61 72 | put the|CheckMar|
|00004510| 6b 20 62 65 66 6f 72 65 | 20 6c 69 6e 65 20 31 38 |k before| line 18|
|00004520| 20 6f 66 20 42 74 6e 45 | 64 69 74 4d 65 6e 75 0d | of BtnE|ditMenu.|
|00004530| 0d 69 66 20 74 68 65 20 | 6d 6f 75 73 65 20 69 73 |.if the |mouse is|
|00004540| 20 22 55 70 22 20 74 68 | 65 6e 20 61 62 6f 72 74 | "Up" th|en abort|
|00004550| 50 6f 70 0d 0d 2d 2d 20 | 48 45 52 45 20 49 53 20 |Pop..-- |HERE IS |
|00004560| 43 41 4c 4c 45 44 20 54 | 48 45 20 50 55 4c 4c 44 |CALLED T|HE PULLD|
|00004570| 4f 57 4e 20 4d 45 4e 55 | 20 3a 0d 67 65 74 20 4a |OWN MENU| :.get J|
|00004580| 6d 48 70 6f 70 55 70 20 | 28 42 74 6e 45 64 69 74 |mHpopUp |(BtnEdit|
|00004590| 4d 65 6e 75 2c 22 22 2c | c2 0d 69 74 65 6d 20 32 |Menu,"",|..item 2|
|000045a0| 20 6f 66 20 72 65 63 74 | 20 6f 66 20 63 64 20 77 | of rect| of cd w|
|000045b0| 69 6e 64 6f 77 20 2b 20 | 69 74 65 6d 20 32 20 6f |indow + |item 2 o|
|000045c0| 66 20 74 68 65 20 63 6c | 69 63 6b 6c 6f 63 2c c2 |f the cl|ickloc,.|
|000045d0| 0d 69 74 65 6d 20 31 20 | 6f 66 20 72 65 63 74 20 |.item 1 |of rect |
|000045e0| 6f 66 20 63 64 20 77 69 | 6e 64 6f 77 20 2b 20 69 |of cd wi|ndow + i|
|000045f0| 74 65 6d 20 31 20 6f 66 | 20 74 68 65 20 63 6c 69 |tem 1 of| the cli|
|00004600| 63 6b 6c 6f 63 29 0d 69 | 66 20 6c 69 6e 65 20 69 |ckloc).i|f line i|
|00004610| 74 65 6d 20 31 20 6f 66 | 20 69 74 20 6f 66 20 42 |tem 1 of| it of B|
|00004620| 74 6e 45 64 69 74 4d 65 | 6e 75 20 3d 20 22 22 20 |tnEditMe|nu = "" |
|00004630| 74 68 65 6e 20 65 78 69 | 74 20 42 74 6e 45 64 69 |then exi|t BtnEdi|
|00004640| 74 4d 65 6e 75 0d 70 75 | 74 20 69 74 65 6d 20 32 |tMenu.pu|t item 2|
|00004650| 20 6f 66 20 69 74 20 69 | 6e 74 6f 20 63 68 6f 6f | of it i|nto choo|
|00004660| 69 74 65 6d 0d 69 66 20 | 63 68 6f 6f 69 74 65 6d |item.if |chooitem|
|00004670| 20 3d 20 31 20 74 68 65 | 6e 20 20 2d 2d 20 6e 6f | = 1 the|n -- no|
|00004680| 20 73 75 62 6d 65 6e 75 | 0d 67 65 74 20 6c 69 6e | submenu|.get lin|
|00004690| 65 20 28 69 74 65 6d 20 | 31 20 6f 66 20 69 74 29 |e (item |1 of it)|
|000046a0| 20 6f 66 20 42 74 6e 45 | 64 69 74 4d 65 6e 75 0d | of BtnE|ditMenu.|
|000046b0| 69 66 20 63 68 61 72 20 | 31 20 74 6f 20 32 20 6f |if char |1 to 2 o|
|000046c0| 66 20 69 74 20 3d 20 74 | 68 65 43 68 65 63 6b 4d |f it = t|heCheckM|
|000046d0| 61 72 6b 20 74 68 65 6e | 20 2d 2d 20 61 20 62 6f |ark then| -- a bo|
|000046e0| 6f 6c 65 61 6e 20 70 72 | 6f 70 65 72 74 79 20 74 |olean pr|operty t|
|000046f0| 68 61 74 20 77 61 73 20 | 74 72 75 65 20 28 6e 6f |hat was |true (no|
|00004700| 74 20 63 68 65 63 6b 65 | 64 29 0d 64 65 6c 65 74 |t checke|d).delet|
|00004710| 65 20 63 68 61 72 20 31 | 20 74 6f 20 32 20 6f 66 |e char 1| to 2 of|
|00004720| 20 69 74 0d 67 65 74 20 | 22 73 65 74 20 42 74 6e | it.get |"set Btn|
|00004730| 22 26 62 74 6e 4e 75 6d | 26 69 74 26 26 22 6f 66 |"&btnNum|&it&&"of|
|00004740| 20 77 69 6e 64 6f 77 22 | 26 26 51 28 77 69 6e 64 | window"|&&Q(wind|
|00004750| 4e 61 6d 65 29 26 26 22 | 74 6f 20 66 61 6c 73 65 |Name)&&"|to false|
|00004760| 22 0d 65 6c 73 65 0d 69 | 66 20 6c 61 73 74 20 63 |".else.i|f last c|
|00004770| 68 61 72 20 6f 66 20 69 | 74 20 3d 20 22 c9 22 20 |har of i|t = "." |
|00004780| 74 68 65 6e 20 2d 2d 20 | c9 3a 20 6f 70 74 69 6f |then -- |.: optio|
|00004790| 6e 2e 0d 64 65 6c 65 74 | 65 20 6c 61 73 74 20 63 |n..delet|e last c|
|000047a0| 68 61 72 20 6f 66 20 69 | 74 0d 70 75 74 20 69 74 |har of i|t.put it|
|000047b0| 20 69 6e 74 6f 20 50 72 | 6f 70 65 72 74 79 4e 61 | into Pr|opertyNa|
|000047c0| 6d 65 0d 64 6f 20 22 67 | 65 74 20 42 74 6e 22 26 |me.do "g|et Btn"&|
|000047d0| 62 74 6e 4e 75 6d 26 50 | 72 6f 70 65 72 74 79 4e |btnNum&P|ropertyN|
|000047e0| 61 6d 65 20 26 26 20 22 | 6f 66 20 77 69 6e 64 6f |ame && "|of windo|
|000047f0| 77 20 77 69 6e 64 4e 61 | 6d 65 22 0d 61 73 6b 20 |w windNa|me".ask |
|00004800| 22 45 6e 74 65 72 22 20 | 26 26 20 50 72 6f 70 65 |"Enter" |&& Prope|
|00004810| 72 74 79 4e 61 6d 65 20 | 26 26 20 22 6f 66 20 62 |rtyName |&& "of b|
|00004820| 75 74 74 6f 6e 22 20 26 | 26 20 62 74 6e 4e 75 6d |utton" &|& btnNum|
|00004830| 20 77 69 74 68 20 69 74 | 0d 69 66 20 74 68 65 20 | with it|.if the |
|00004840| 72 65 73 75 6c 74 20 3d | 20 22 43 61 6e 63 65 6c |result =| "Cancel|
|00004850| 22 20 74 68 65 6e 20 65 | 78 69 74 20 42 74 6e 45 |" then e|xit BtnE|
|00004860| 64 69 74 4d 65 6e 75 0d | 69 66 20 50 72 6f 70 65 |ditMenu.|if Prope|
|00004870| 72 74 79 4e 61 6d 65 20 | 3d 20 22 4e 61 6d 65 22 |rtyName |= "Name"|
|00004880| 20 74 68 65 6e 0d 69 66 | 20 74 68 65 72 65 20 69 | then.if| there i|
|00004890| 73 20 61 20 77 69 6e 64 | 6f 77 20 22 43 68 69 63 |s a wind|ow "Chic|
|000048a0| 6c 65 74 74 65 20 45 64 | 69 74 6f 72 22 20 74 68 |lette Ed|itor" th|
|000048b0| 65 6e 0d 73 65 74 20 42 | 74 6e 38 4e 61 6d 65 20 |en.set B|tn8Name |
|000048c0| 6f 66 20 77 69 6e 64 6f | 77 20 22 43 68 69 63 6c |of windo|w "Chicl|
|000048d0| 65 74 74 65 20 45 64 69 | 74 6f 72 22 20 74 6f 20 |ette Edi|tor" to |
|000048e0| 69 74 0d 65 6e 64 20 69 | 66 0d 2d 2d 20 69 6e 20 |it.end i|f.-- in |
|000048f0| 48 43 32 2e 30 2c 20 74 | 68 65 20 76 61 6c 75 65 |HC2.0, t|he value|
|00004900| 20 68 61 73 20 74 6f 20 | 62 65 20 71 75 6f 74 65 | has to |be quote|
|00004910| 64 20 69 66 20 32 20 6f | 72 20 6d 6f 72 65 20 77 |d if 2 o|r more w|
|00004920| 6f 72 64 73 0d 2d 2d 20 | 64 6f 65 73 6e 27 74 20 |ords.-- |doesn't |
|00004930| 6e 65 65 64 20 69 6e 20 | 48 43 32 2e 31 0d 67 65 |need in |HC2.1.ge|
|00004940| 74 20 22 73 65 74 20 42 | 74 6e 22 26 62 74 6e 4e |t "set B|tn"&btnN|
|00004950| 75 6d 26 50 72 6f 70 65 | 72 74 79 4e 61 6d 65 26 |um&Prope|rtyName&|
|00004960| 26 22 6f 66 20 77 69 6e | 64 6f 77 22 26 26 51 28 |&"of win|dow"&&Q(|
|00004970| 77 69 6e 64 4e 61 6d 65 | 29 26 26 22 74 6f 22 20 |windName|)&&"to" |
|00004980| 26 26 20 51 28 69 74 29 | 0d 65 6c 73 65 20 69 66 |&& Q(it)|.else if|
|00004990| 20 50 72 6f 70 65 72 74 | 79 4e 61 6d 65 20 3d 20 | Propert|yName = |
|000049a0| 22 52 65 63 74 61 6e 67 | 6c 65 22 20 74 68 65 6e |"Rectang|le" then|
|000049b0| 0d 2d 2d 20 69 6e 20 48 | 43 32 2e 30 2c 20 74 68 |.-- in H|C2.0, th|
|000049c0| 65 20 76 61 6c 75 65 20 | 68 61 73 20 74 6f 20 62 |e value |has to b|
|000049d0| 65 20 71 75 6f 74 65 64 | 0d 2d 2d 20 64 6f 65 73 |e quoted|.-- does|
|000049e0| 6e 27 74 20 6e 65 65 64 | 20 69 6e 20 48 43 32 2e |n't need| in HC2.|
|000049f0| 31 0d 67 65 74 20 22 73 | 65 74 20 42 74 6e 22 26 |1.get "s|et Btn"&|
|00004a00| 62 74 6e 4e 75 6d 26 50 | 72 6f 70 65 72 74 79 4e |btnNum&P|ropertyN|
|00004a10| 61 6d 65 26 26 22 6f 66 | 20 77 69 6e 64 6f 77 22 |ame&&"of| window"|
|00004a20| 26 26 51 28 77 69 6e 64 | 4e 61 6d 65 29 26 26 22 |&&Q(wind|Name)&&"|
|00004a30| 74 6f 22 20 26 26 20 51 | 28 69 74 29 0d 65 6c 73 |to" && Q|(it).els|
|00004a40| 65 0d 67 65 74 20 22 73 | 65 74 20 42 74 6e 22 26 |e.get "s|et Btn"&|
|00004a50| 62 74 6e 4e 75 6d 26 50 | 72 6f 70 65 72 74 79 4e |btnNum&P|ropertyN|
|00004a60| 61 6d 65 26 26 22 6f 66 | 20 77 69 6e 64 6f 77 22 |ame&&"of| window"|
|00004a70| 26 26 51 28 77 69 6e 64 | 4e 61 6d 65 29 26 26 22 |&&Q(wind|Name)&&"|
|00004a80| 74 6f 22 20 26 26 20 69 | 74 0d 65 6e 64 20 69 66 |to" && i|t.end if|
|00004a90| 0d 65 6c 73 65 20 2d 2d | 20 69 74 20 69 73 20 61 |.else --| it is a|
|00004aa0| 20 62 6f 6f 6c 65 61 6e | 20 70 72 6f 70 65 72 74 | boolean| propert|
|00004ab0| 79 20 74 68 61 74 20 77 | 61 73 20 66 61 6c 73 65 |y that w|as false|
|00004ac0| 20 28 6e 6f 74 20 63 68 | 65 63 6b 65 64 29 0d 67 | (not ch|ecked).g|
|00004ad0| 65 74 20 22 73 65 74 20 | 42 74 6e 22 26 62 74 6e |et "set |Btn"&btn|
|00004ae0| 4e 75 6d 26 69 74 26 26 | 22 6f 66 20 77 69 6e 64 |Num&it&&|"of wind|
|00004af0| 6f 77 22 26 26 51 28 77 | 69 6e 64 4e 61 6d 65 29 |ow"&&Q(w|indName)|
|00004b00| 26 26 22 74 6f 20 74 72 | 75 65 22 0d 65 6e 64 20 |&&"to tr|ue".end |
|00004b10| 69 66 0d 65 6e 64 20 69 | 66 0d 65 6c 73 65 20 2d |if.end i|f.else -|
|00004b20| 2d 20 63 68 6f 69 63 65 | 20 69 6e 20 61 20 73 75 |- choice| in a su|
|00004b30| 62 6d 65 6e 75 0d 70 75 | 74 20 69 74 65 6d 20 63 |bmenu.pu|t item c|
|00004b40| 68 6f 6f 69 74 65 6d 20 | 6f 66 20 6c 69 6e 65 20 |hooitem |of line |
|00004b50| 28 69 74 65 6d 20 31 20 | 6f 66 20 69 74 29 20 6f |(item 1 |of it) o|
|00004b60| 66 20 42 74 6e 45 64 69 | 74 4d 65 6e 75 20 69 6e |f BtnEdi|tMenu in|
|00004b70| 74 6f 20 7a 0d 70 75 74 | 20 69 74 65 6d 20 31 20 |to z.put| item 1 |
|00004b80| 6f 66 20 6c 69 6e 65 20 | 28 69 74 65 6d 20 31 20 |of line |(item 1 |
|00004b90| 6f 66 20 69 74 29 20 6f | 66 20 42 74 6e 45 64 69 |of it) o|f BtnEdi|
|00004ba0| 74 4d 65 6e 75 20 69 6e | 74 6f 20 79 20 2d 2d 20 |tMenu in|to y -- |
|00004bb0| 61 20 70 72 6f 70 65 72 | 74 79 20 6e 61 6d 65 2c |a proper|ty name,|
|00004bc0| 20 6f 72 20 22 73 63 72 | 69 70 74 22 0d 69 66 20 | or "scr|ipt".if |
|00004bd0| 79 20 63 6f 6e 74 61 69 | 6e 73 20 22 53 63 72 69 |y contai|ns "Scri|
|00004be0| 70 74 22 20 74 68 65 6e | 0d 64 65 6c 65 74 65 20 |pt" then|.delete |
|00004bf0| 6c 61 73 74 20 63 68 61 | 72 20 6f 66 20 7a 20 2d |last cha|r of z -|
|00004c00| 2d 20 c9 0d 70 75 74 20 | 7a 20 69 6e 74 6f 20 50 |- ..put |z into P|
|00004c10| 72 6f 70 65 72 74 79 4e | 61 6d 65 0d 69 66 20 63 |ropertyN|ame.if c|
|00004c20| 68 61 72 20 31 20 74 6f | 20 32 20 6f 66 20 7a 20 |har 1 to| 2 of z |
|00004c30| 3d 20 74 68 65 43 68 65 | 63 6b 4d 61 72 6b 20 74 |= theChe|ckMark t|
|00004c40| 68 65 6e 0d 2d 2d 20 6d | 65 73 73 20 61 6c 72 65 |hen.-- m|ess alre|
|00004c50| 61 64 79 20 64 65 66 69 | 6e 65 64 0d 64 65 6c 65 |ady defi|ned.dele|
|00004c60| 74 65 20 63 68 61 72 20 | 31 20 74 6f 20 32 20 6f |te char |1 to 2 o|
|00004c70| 66 20 50 72 6f 70 65 72 | 74 79 4e 61 6d 65 0d 64 |f Proper|tyName.d|
|00004c80| 6f 20 22 67 65 74 20 42 | 74 6e 22 26 62 74 6e 4e |o "get B|tn"&btnN|
|00004c90| 75 6d 26 50 72 6f 70 65 | 72 74 79 4e 61 6d 65 20 |um&Prope|rtyName |
|00004ca0| 26 26 20 22 6f 66 20 77 | 69 6e 64 6f 77 20 77 69 |&& "of w|indow wi|
|00004cb0| 6e 64 4e 61 6d 65 22 0d | 65 6c 73 65 0d 67 65 74 |ndName".|else.get|
|00004cc0| 20 22 22 0d 65 6e 64 20 | 69 66 0d 61 73 6b 20 22 | "".end |if.ask "|
|00004cd0| 45 6e 74 65 72 22 20 26 | 26 20 50 72 6f 70 65 72 |Enter" &|& Proper|
|00004ce0| 74 79 4e 61 6d 65 20 26 | 26 20 22 6f 66 20 62 75 |tyName &|& "of bu|
|00004cf0| 74 74 6f 6e 22 20 26 26 | 20 62 74 6e 4e 75 6d 20 |tton" &&| btnNum |
|00004d00| 77 69 74 68 20 69 74 0d | 69 66 20 74 68 65 20 72 |with it.|if the r|
|00004d10| 65 73 75 6c 74 20 3d 20 | 22 43 61 6e 63 65 6c 22 |esult = |"Cancel"|
|00004d20| 20 74 68 65 6e 20 65 78 | 69 74 20 42 74 6e 45 64 | then ex|it BtnEd|
|00004d30| 69 74 4d 65 6e 75 0d 2d | 2d 20 49 6e 20 48 43 32 |itMenu.-|- In HC2|
|00004d40| 2e 30 2c 20 74 68 65 20 | 76 61 6c 75 65 20 68 61 |.0, the |value ha|
|00004d50| 73 20 74 6f 20 62 65 20 | 71 75 6f 74 65 64 2c 20 |s to be |quoted, |
|00004d60| 28 6e 6f 74 20 69 6e 20 | 48 43 32 2e 31 29 0d 69 |(not in |HC2.1).i|
|00004d70| 66 20 69 74 20 63 6f 6e | 74 61 69 6e 73 20 71 75 |f it con|tains qu|
|00004d80| 6f 74 65 20 74 68 65 6e | 0d 70 75 74 20 69 74 20 |ote then|.put it |
|00004d90| 69 6e 74 6f 20 53 63 72 | 69 70 74 56 61 6c 75 65 |into Scr|iptValue|
|00004da0| 0d 67 65 74 20 22 73 65 | 74 20 42 74 6e 22 26 62 |.get "se|t Btn"&b|
|00004db0| 74 6e 4e 75 6d 26 50 72 | 6f 70 65 72 74 79 4e 61 |tnNum&Pr|opertyNa|
|00004dc0| 6d 65 20 26 26 22 6f 66 | 20 77 69 6e 64 6f 77 22 |me &&"of| window"|
|00004dd0| 26 26 51 28 77 69 6e 64 | 4e 61 6d 65 29 26 26 22 |&&Q(wind|Name)&&"|
|00004de0| 74 6f 20 53 63 72 69 70 | 74 56 61 6c 75 65 22 0d |to Scrip|tValue".|
|00004df0| 65 6c 73 65 0d 2d 2d 20 | 69 66 20 69 74 20 3d 20 |else.-- |if it = |
|00004e00| 22 22 20 74 68 65 6e 20 | 67 65 74 20 51 28 69 74 |"" then |get Q(it|
|00004e10| 29 20 2d 2d 20 65 6d 70 | 74 79 20 68 61 73 20 74 |) -- emp|ty has t|
|00004e20| 6f 20 62 65 20 71 75 6f | 74 65 64 20 61 6c 73 6f |o be quo|ted also|
|00004e30| 20 69 6e 20 48 43 32 2e | 31 0d 67 65 74 20 22 73 | in HC2.|1.get "s|
|00004e40| 65 74 20 42 74 6e 22 26 | 62 74 6e 4e 75 6d 26 50 |et Btn"&|btnNum&P|
|00004e50| 72 6f 70 65 72 74 79 4e | 61 6d 65 20 26 26 22 6f |ropertyN|ame &&"o|
|00004e60| 66 20 77 69 6e 64 6f 77 | 22 26 26 51 28 77 69 6e |f window|"&&Q(win|
|00004e70| 64 4e 61 6d 65 29 26 26 | 22 74 6f 22 20 26 26 20 |dName)&&|"to" && |
|00004e80| 51 28 69 74 29 0d 65 6e | 64 20 69 66 0d 65 6c 73 |Q(it).en|d if.els|
|00004e90| 65 0d 69 66 20 63 68 61 | 72 20 31 20 74 6f 20 32 |e.if cha|r 1 to 2|
|00004ea0| 20 6f 66 20 7a 20 3d 20 | 74 68 65 43 68 65 63 6b | of z = |theCheck|
|00004eb0| 4d 61 72 6b 20 74 68 65 | 6e 20 64 65 6c 65 74 65 |Mark the|n delete|
|00004ec0| 20 63 68 61 72 20 31 20 | 74 6f 20 32 20 6f 66 20 | char 1 |to 2 of |
|00004ed0| 7a 0d 69 66 20 79 20 3d | 20 20 22 54 65 78 74 53 |z.if y =| "TextS|
|00004ee0| 74 79 6c 65 22 20 74 68 | 65 6e 0d 70 75 74 20 69 |tyle" th|en.put i|
|00004ef0| 74 65 6d 20 63 68 6f 6f | 69 74 65 6d 2d 31 20 6f |tem choo|item-1 o|
|00004f00| 66 20 55 53 6c 69 73 74 | 20 69 6e 74 6f 20 7a 0d |f USlist| into z.|
|00004f10| 69 66 20 7a 20 3d 20 22 | 50 6c 61 69 6e 22 20 74 |if z = "|Plain" t|
|00004f20| 68 65 6e 0d 67 65 74 20 | 22 73 65 74 20 42 74 6e |hen.get |"set Btn|
|00004f30| 22 26 62 74 6e 4e 75 6d | 26 79 20 26 26 22 6f 66 |"&btnNum|&y &&"of|
|00004f40| 20 77 69 6e 64 6f 77 22 | 26 26 51 28 77 69 6e 64 | window"|&&Q(wind|
|00004f50| 4e 61 6d 65 29 26 26 22 | 74 6f 22 20 26 26 20 7a |Name)&&"|to" && z|
|00004f60| 0d 65 6c 73 65 0d 64 6f | 20 22 67 65 74 20 42 74 |.else.do| "get Bt|
|00004f70| 6e 22 26 62 74 6e 4e 75 | 6d 26 79 20 26 26 22 6f |n"&btnNu|m&y &&"o|
|00004f80| 66 20 77 69 6e 64 6f 77 | 20 77 69 6e 64 4e 61 6d |f window| windNam|
|00004f90| 65 22 0d 69 66 20 69 74 | 20 3d 20 22 50 6c 61 69 |e".if it| = "Plai|
|00004fa0| 6e 22 20 74 68 65 6e 0d | 67 65 74 20 7a 0d 65 6c |n" then.|get z.el|
|00004fb0| 73 65 0d 70 75 74 20 22 | 22 20 69 6e 74 6f 20 78 |se.put "|" into x|
|00004fc0| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|00004fd0| 20 31 20 74 6f 20 6e 75 | 6d 62 65 72 20 6f 66 20 | 1 to nu|mber of |
|00004fe0| 69 74 65 6d 73 20 6f 66 | 20 69 74 0d 69 66 20 69 |items of| it.if i|
|00004ff0| 74 65 6d 20 69 20 6f 66 | 20 69 74 20 3d 20 7a 20 |tem i of| it = z |
|00005000| 74 68 65 6e 0d 64 65 6c | 65 74 65 20 69 74 65 6d |then.del|ete item|
|00005010| 20 69 20 6f 66 20 69 74 | 0d 70 75 74 20 22 2d 22 | i of it|.put "-"|
|00005020| 20 69 6e 74 6f 20 78 0d | 65 78 69 74 20 72 65 70 | into x.|exit rep|
|00005030| 65 61 74 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 |eat.end |if.end r|
|00005040| 65 70 65 61 74 0d 69 66 | 20 78 20 3d 20 22 22 20 |epeat.if| x = "" |
|00005050| 74 68 65 6e 20 67 65 74 | 20 69 74 20 26 20 22 2c |then get| it & ",|
|00005060| 22 20 26 20 7a 0d 67 65 | 74 20 71 75 6f 74 65 20 |" & z.ge|t quote |
|00005070| 26 20 69 74 20 26 20 71 | 75 6f 74 65 0d 65 6e 64 |& it & q|uote.end|
|00005080| 20 69 66 0d 67 65 74 20 | 22 73 65 74 20 42 74 6e | if.get |"set Btn|
|00005090| 22 26 62 74 6e 4e 75 6d | 26 79 20 26 26 22 6f 66 |"&btnNum|&y &&"of|
|000050a0| 20 77 69 6e 64 6f 77 22 | 26 26 51 28 77 69 6e 64 | window"|&&Q(wind|
|000050b0| 4e 61 6d 65 29 26 26 22 | 74 6f 22 20 26 26 20 69 |Name)&&"|to" && i|
|000050c0| 74 0d 65 6e 64 20 69 66 | 0d 65 6c 73 65 20 69 66 |t.end if|.else if|
|000050d0| 20 79 20 3d 20 22 54 65 | 78 74 46 6f 6e 74 22 20 | y = "Te|xtFont" |
|000050e0| 74 68 65 6e 0d 67 65 74 | 20 22 73 65 74 20 42 74 |then.get| "set Bt|
|000050f0| 6e 22 26 62 74 6e 4e 75 | 6d 26 79 20 26 26 22 6f |n"&btnNu|m&y &&"o|
|00005100| 66 20 77 69 6e 64 6f 77 | 22 26 26 51 28 77 69 6e |f window|"&&Q(win|
|00005110| 64 4e 61 6d 65 29 26 26 | 22 74 6f 22 20 26 26 20 |dName)&&|"to" && |
|00005120| 51 28 7a 29 20 2d 2d 20 | 69 6e 20 48 43 32 2e 30 |Q(z) -- |in HC2.0|
|00005130| 2c 20 68 61 73 20 74 6f | 20 62 65 20 71 75 6f 74 |, has to| be quot|
|00005140| 65 64 0d 65 6c 73 65 0d | 69 66 20 79 20 3d 20 22 |ed.else.|if y = "|
|00005150| 54 65 78 74 53 69 7a 65 | 22 20 74 68 65 6e 0d 69 |TextSize|" then.i|
|00005160| 66 20 7a 20 69 73 20 6e | 6f 74 20 61 20 6e 75 6d |f z is n|ot a num|
|00005170| 62 65 72 20 74 68 65 6e | 0d 64 6f 20 22 67 65 74 |ber then|.do "get|
|00005180| 20 42 74 6e 22 26 62 74 | 6e 4e 75 6d 26 79 20 26 | Btn"&bt|nNum&y &|
|00005190| 26 22 6f 66 20 77 69 6e | 64 6f 77 20 77 69 6e 64 |&"of win|dow wind|
|000051a0| 4e 61 6d 65 22 0d 61 73 | 6b 20 22 45 6e 74 65 72 |Name".as|k "Enter|
|000051b0| 22 26 26 79 26 26 22 6f | 66 20 62 75 74 74 6f 6e |"&&y&&"o|f button|
|000051c0| 22 26 26 62 74 6e 4e 75 | 6d 20 77 69 74 68 20 69 |"&&btnNu|m with i|
|000051d0| 74 0d 69 66 20 74 68 65 | 20 72 65 73 75 6c 74 20 |t.if the| result |
|000051e0| 3d 20 22 43 61 6e 63 65 | 6c 22 20 74 68 65 6e 20 |= "Cance|l" then |
|000051f0| 65 78 69 74 20 74 6f 20 | 68 79 70 65 72 43 61 72 |exit to |hyperCar|
|00005200| 64 0d 69 66 20 69 74 20 | 3d 20 22 22 20 6f 72 20 |d.if it |= "" or |
|00005210| 69 74 20 69 73 20 6e 6f | 74 20 61 20 6e 75 6d 62 |it is no|t a numb|
|00005220| 65 72 20 74 68 65 6e 20 | 65 78 69 74 20 74 6f 20 |er then |exit to |
|00005230| 68 79 70 65 72 43 61 72 | 64 0d 70 75 74 20 69 74 |hyperCar|d.put it|
|00005240| 20 69 6e 74 6f 20 7a 0d | 65 6e 64 20 69 66 0d 65 | into z.|end if.e|
|00005250| 6e 64 20 69 66 0d 67 65 | 74 20 22 73 65 74 20 42 |nd if.ge|t "set B|
|00005260| 74 6e 22 26 62 74 6e 4e | 75 6d 26 79 20 26 26 22 |tn"&btnN|um&y &&"|
|00005270| 6f 66 20 77 69 6e 64 6f | 77 22 26 26 51 28 77 69 |of windo|w"&&Q(wi|
|00005280| 6e 64 4e 61 6d 65 29 26 | 26 22 74 6f 22 20 26 26 |ndName)&|&"to" &&|
|00005290| 20 7a 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 | z.end i|f.end if|
|000052a0| 0d 65 6e 64 20 69 66 0d | 69 66 20 70 75 74 4d 65 |.end if.|if putMe|
|000052b0| 73 73 61 67 65 73 28 29 | 20 74 68 65 6e 20 70 75 |ssages()| then pu|
|000052c0| 74 20 22 2d 2d 22 26 26 | 69 74 0d 64 6f 20 69 74 |t "--"&&|it.do it|
|000052d0| 0d 67 65 74 20 74 68 65 | 20 72 65 73 75 6c 74 0d |.get the| result.|
|000052e0| 69 66 20 69 74 20 ad 20 | 22 22 20 74 68 65 6e 20 |if it . |"" then |
|000052f0| 61 6e 73 77 65 72 20 69 | 74 0d 65 6e 64 20 42 74 |answer i|t.end Bt|
|00005300| 6e 45 64 69 74 4d 65 6e | 75 0d 0d 6f 6e 20 6c 6f |nEditMen|u..on lo|
|00005310| 61 64 42 74 6e 4d 65 6e | 75 0d 67 6c 6f 62 61 6c |adBtnMen|u.global|
|00005320| 20 74 68 65 42 74 6e 4d | 65 6e 75 0d 0d 70 75 74 | theBtnM|enu..put|
|00005330| 20 22 4e 61 6d 65 c9 22 | 20 26 20 72 65 74 75 72 | "Name."| & retur|
|00005340| 6e 20 c2 20 20 2d 2d 20 | 31 0d 26 20 22 2d 22 20 |n . -- |1.& "-" |
|00005350| 26 20 72 65 74 75 72 6e | 20 c2 20 2d 2d 20 32 0d |& return| . -- 2.|
|00005360| 26 20 22 52 65 63 74 61 | 6e 67 6c 65 c9 22 20 26 |& "Recta|ngle." &|
|00005370| 20 72 65 74 75 72 6e 20 | c2 20 2d 2d 20 33 0d 26 | return |. -- 3.&|
|00005380| 20 22 49 63 6f 6e c9 22 | 20 26 20 72 65 74 75 72 | "Icon."| & retur|
|00005390| 6e 20 c2 20 20 2d 2d 20 | 34 0d 26 20 22 53 68 6f |n . -- |4.& "Sho|
|000053a0| 77 4e 61 6d 65 22 20 26 | 20 72 65 74 75 72 6e 20 |wName" &| return |
|000053b0| c2 20 20 2d 2d 20 35 0d | 26 20 22 41 75 74 6f 48 |. -- 5.|& "AutoH|
|000053c0| 69 6c 69 74 65 22 20 26 | 20 72 65 74 75 72 6e 20 |ilite" &| return |
|000053d0| c2 20 20 2d 2d 20 36 0d | 26 20 22 48 69 6c 69 74 |. -- 6.|& "Hilit|
|000053e0| 65 22 20 26 20 72 65 74 | 75 72 6e 20 c2 20 20 2d |e" & ret|urn . -|
|000053f0| 2d 20 37 0d 26 20 22 47 | 72 61 79 65 64 4f 75 74 |- 7.& "G|rayedOut|
|00005400| 22 20 26 20 72 65 74 75 | 72 6e 20 c2 20 20 2d 2d |" & retu|rn . --|
|00005410| 20 38 0d 26 20 22 53 74 | 79 6c 65 2c 54 72 61 6e | 8.& "St|yle,Tran|
|00005420| 73 70 61 72 65 6e 74 2c | 4f 70 61 71 75 65 2c 52 |sparent,|Opaque,R|
|00005430| 65 63 74 61 6e 67 6c 65 | 2c 53 68 61 64 6f 77 2c |ectangle|,Shadow,|
|00005440| 52 6f 75 6e 64 52 65 63 | 74 2c 22 20 c2 20 20 2d |RoundRec|t," . -|
|00005450| 2d 20 39 0d 26 20 22 43 | 68 65 63 6b 42 6f 78 2c |- 9.& "C|heckBox,|
|00005460| 52 61 64 69 6f 42 75 74 | 74 6f 6e 22 20 26 20 72 |RadioBut|ton" & r|
|00005470| 65 74 75 72 6e 20 c2 0d | 26 20 22 56 69 73 69 62 |eturn ..|& "Visib|
|00005480| 6c 65 22 20 26 20 72 65 | 74 75 72 6e 20 c2 20 20 |le" & re|turn . |
|00005490| 2d 2d 20 31 30 0d 26 20 | 22 2d 22 20 c2 20 20 2d |-- 10.& |"-" . -|
|000054a0| 2d 20 31 31 0d 69 6e 74 | 6f 20 74 68 65 42 74 6e |- 11.int|o theBtn|
|000054b0| 4d 65 6e 75 0d 0d 70 75 | 74 20 6d 65 6e 75 20 22 |Menu..pu|t menu "|
|000054c0| 66 6f 6e 74 22 20 69 6e | 74 6f 20 78 0d 67 65 74 |font" in|to x.get|
|000054d0| 20 22 54 65 78 74 46 6f | 6e 74 22 0d 72 65 70 65 | "TextFo|nt".repe|
|000054e0| 61 74 20 77 69 74 68 20 | 69 20 3d 20 31 20 74 6f |at with |i = 1 to|
|000054f0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00005500| 20 6f 66 20 78 0d 70 75 | 74 20 22 2c 22 26 6c 69 | of x.pu|t ","&li|
|00005510| 6e 65 20 69 20 6f 66 20 | 78 20 61 66 74 65 72 20 |ne i of |x after |
|00005520| 69 74 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 70 75 |it.end r|epeat.pu|
|00005530| 74 20 72 65 74 75 72 6e | 20 26 20 69 74 20 61 66 |t return| & it af|
|00005540| 74 65 72 20 74 68 65 42 | 74 6e 4d 65 6e 75 20 2d |ter theB|tnMenu -|
|00005550| 2d 20 31 32 0d 0d 70 75 | 74 20 6d 65 6e 75 20 22 |- 12..pu|t menu "|
|00005560| 53 74 79 6c 65 22 20 69 | 6e 74 6f 20 78 0d 70 75 |Style" i|nto x.pu|
|00005570| 74 20 6c 61 73 74 20 6c | 69 6e 65 20 6f 66 20 78 |t last l|ine of x|
|00005580| 20 69 6e 74 6f 20 6f 74 | 68 65 72 73 0d 67 65 74 | into ot|hers.get|
|00005590| 20 6f 66 66 73 65 74 28 | 22 2d 22 2c 78 29 0d 70 | offset(|"-",x).p|
|000055a0| 75 74 20 63 68 61 72 20 | 31 20 74 6f 20 69 74 2d |ut char |1 to it-|
|000055b0| 32 20 6f 66 20 78 20 69 | 6e 74 6f 20 78 31 0d 64 |2 of x i|nto x1.d|
|000055c0| 65 6c 65 74 65 20 63 68 | 61 72 20 31 20 74 6f 20 |elete ch|ar 1 to |
|000055d0| 69 74 20 2b 20 32 20 6f | 66 20 78 0d 67 65 74 20 |it + 2 o|f x.get |
|000055e0| 6f 66 66 73 65 74 28 22 | 2d 22 2c 78 29 0d 70 75 |offset("|-",x).pu|
|000055f0| 74 20 63 68 61 72 20 31 | 20 74 6f 20 69 74 2d 32 |t char 1| to it-2|
|00005600| 20 6f 66 20 78 20 69 6e | 74 6f 20 78 0d 0d 67 65 | of x in|to x..ge|
|00005610| 74 20 22 54 65 78 74 53 | 74 79 6c 65 22 0d 72 65 |t "TextS|tyle".re|
|00005620| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 31 20 |peat wit|h i = 1 |
|00005630| 74 6f 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |to numbe|r of lin|
|00005640| 65 73 20 6f 66 20 78 31 | 20 2d 20 31 20 2d 2d 20 |es of x1| - 1 -- |
|00005650| 6e 6f 20 22 47 72 6f 75 | 70 22 20 73 74 79 6c 65 |no "Grou|p" style|
|00005660| 0d 70 75 74 20 22 2c 22 | 26 6c 69 6e 65 20 69 20 |.put ","|&line i |
|00005670| 6f 66 20 78 31 20 61 66 | 74 65 72 20 69 74 0d 65 |of x1 af|ter it.e|
|00005680| 6e 64 20 72 65 70 65 61 | 74 0d 70 75 74 20 72 65 |nd repea|t.put re|
|00005690| 74 75 72 6e 20 26 20 69 | 74 20 61 66 74 65 72 20 |turn & i|t after |
|000056a0| 74 68 65 42 74 6e 4d 65 | 6e 75 20 2d 2d 20 31 33 |theBtnMe|nu -- 13|
|000056b0| 0d 0d 67 65 74 20 22 54 | 65 78 74 53 69 7a 65 22 |..get "T|extSize"|
|000056c0| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|000056d0| 20 31 20 74 6f 20 6e 75 | 6d 62 65 72 20 6f 66 20 | 1 to nu|mber of |
|000056e0| 6c 69 6e 65 73 20 6f 66 | 20 78 0d 70 75 74 20 22 |lines of| x.put "|
|000056f0| 2c 22 26 6c 69 6e 65 20 | 69 20 6f 66 20 78 20 61 |,"&line |i of x a|
|00005700| 66 74 65 72 20 69 74 0d | 65 6e 64 20 72 65 70 65 |fter it.|end repe|
|00005710| 61 74 0d 70 75 74 20 22 | 2c 22 26 6f 74 68 65 72 |at.put "|,"&other|
|00005720| 73 20 61 66 74 65 72 20 | 69 74 0d 70 75 74 20 72 |s after |it.put r|
|00005730| 65 74 75 72 6e 20 26 20 | 69 74 20 61 66 74 65 72 |eturn & |it after|
|00005740| 20 74 68 65 42 74 6e 4d | 65 6e 75 20 2d 2d 20 31 | theBtnM|enu -- 1|
|00005750| 34 0d 0d 70 75 74 20 72 | 65 74 75 72 6e 20 26 20 |4..put r|eturn & |
|00005760| 22 54 65 78 74 41 6c 69 | 67 6e 2c 4c 65 66 74 2c |"TextAli|gn,Left,|
|00005770| 43 65 6e 74 65 72 2c 52 | 69 67 68 74 22 20 c2 20 |Center,R|ight" . |
|00005780| 20 2d 2d 20 31 35 0d 26 | 20 72 65 74 75 72 6e 20 | -- 15.&| return |
|00005790| 26 20 22 2d 22 20 c2 20 | 2d 2d 20 31 36 0d 26 20 |& "-" . |-- 16.& |
|000057a0| 72 65 74 75 72 6e 20 26 | 20 22 53 63 72 69 70 74 |return &| "Script|
|000057b0| 2c 4d 44 6d 65 73 73 c9 | 2c 4d 53 44 6d 65 73 73 |,MDmess.|,MSDmess|
|000057c0| c9 2c 4d 55 6d 65 73 73 | c9 22 20 c2 20 2d 2d 20 |.,MUmess|." . -- |
|000057d0| 31 37 0d 26 20 72 65 74 | 75 72 6e 20 26 20 22 44 |17.& ret|urn & "D|
|000057e0| 69 73 61 62 6c 65 22 20 | c2 20 2d 2d 20 31 38 0d |isable" |. -- 18.|
|000057f0| 61 66 74 65 72 20 74 68 | 65 42 74 6e 4d 65 6e 75 |after th|eBtnMenu|
|00005800| 0d 65 6e 64 20 6c 6f 61 | 64 42 74 6e 4d 65 6e 75 |.end loa|dBtnMenu|
|00005810| 0d 0d 6f 6e 20 63 68 65 | 63 6b 4f 70 65 6e 65 64 |..on che|ckOpened|
|00005820| 50 61 6c 65 74 74 65 20 | 77 69 6e 64 4e 61 6d 65 |Palette |windName|
|00005830| 0d 2d 2d 20 63 68 65 63 | 6b 73 20 69 66 20 61 77 |.-- chec|ks if aw|
|00005840| 69 6e 64 6f 77 20 77 69 | 6e 64 4e 61 6d 65 20 69 |indow wi|ndName i|
|00005850| 73 20 6f 70 65 6e 65 64 | 2e 0d 2d 2d 20 69 6e 20 |s opened|..-- in |
|00005860| 48 43 20 32 2e 31 2c 20 | 76 65 72 69 66 69 65 73 |HC 2.1, |verifies|
|00005870| 20 61 6c 73 6f 20 74 68 | 61 74 20 69 74 20 69 73 | also th|at it is|
|00005880| 20 61 20 63 68 69 63 20 | 70 61 6c 65 74 74 65 2e | a chic |palette.|
|00005890| 0d 2d 2d 20 45 78 69 74 | 20 74 6f 20 68 79 70 65 |.-- Exit| to hype|
|000058a0| 72 43 61 72 64 20 69 66 | 20 6e 6f 74 0d 69 66 20 |rCard if| not.if |
|000058b0| 74 68 65 72 65 20 69 73 | 20 6e 6f 74 20 61 20 77 |there is| not a w|
|000058c0| 69 6e 64 6f 77 20 77 69 | 6e 64 4e 61 6d 65 20 74 |indow wi|ndName t|
|000058d0| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 50 6c 65 61 |hen.answ|er "Plea|
|000058e0| 73 65 20 6f 70 65 6e 20 | 74 68 65 20 63 68 69 63 |se open |the chic|
|000058f0| 20 70 61 6c 65 74 74 65 | 22 26 26 51 28 77 69 6e | palette|"&&Q(win|
|00005900| 64 4e 61 6d 65 29 26 26 | 22 66 69 72 73 74 2e 22 |dName)&&|"first."|
|00005910| 0d 65 78 69 74 20 74 6f | 20 68 79 70 65 72 43 61 |.exit to| hyperCa|
|00005920| 72 64 0d 65 6e 64 20 69 | 66 0d 69 66 20 74 68 65 |rd.end i|f.if the|
|00005930| 20 76 65 72 73 69 6f 6e | 20 b3 20 32 2e 31 20 74 | version| . 2.1 t|
|00005940| 68 65 6e 0d 69 66 20 6f | 77 6e 65 72 20 6f 66 20 |hen.if o|wner of |
|00005950| 77 69 6e 64 6f 77 20 77 | 69 6e 64 4e 61 6d 65 20 |window w|indName |
|00005960| ad 20 22 43 68 69 63 6c | 65 74 74 65 22 20 74 68 |. "Chicl|ette" th|
|00005970| 65 6e 0d 61 6e 73 77 65 | 72 20 22 54 68 65 20 75 |en.answe|r "The u|
|00005980| 70 70 65 72 6d 6f 73 74 | 20 77 69 6e 64 6f 77 22 |ppermost| window"|
|00005990| 26 26 77 69 6e 64 4e 61 | 6d 65 26 26 22 69 73 20 |&&windNa|me&&"is |
|000059a0| 6e 6f 74 20 61 20 63 68 | 69 63 20 70 61 6c 65 74 |not a ch|ic palet|
|000059b0| 74 65 2e 22 0d 65 78 69 | 74 20 74 6f 20 68 79 70 |te.".exi|t to hyp|
|000059c0| 65 72 43 61 72 64 0d 65 | 6e 64 20 69 66 0d 65 6e |erCard.e|nd if.en|
|000059d0| 64 20 69 66 0d 65 6e 64 | 20 63 68 65 63 6b 4f 70 |d if.end| checkOp|
|000059e0| 65 6e 65 64 50 61 6c 65 | 74 74 65 0d 0d 66 75 6e |enedPale|tte..fun|
|000059f0| 63 74 69 6f 6e 20 70 75 | 74 4d 65 73 73 61 67 65 |ction pu|tMessage|
|00005a00| 73 0d 69 66 20 6e 6f 74 | 20 6f 74 68 65 72 53 74 |s.if not| otherSt|
|00005a10| 61 63 6b 28 29 20 74 68 | 65 6e 0d 69 66 20 74 68 |ack() th|en.if th|
|00005a20| 65 72 65 20 69 73 20 61 | 20 62 67 20 62 74 6e 20 |ere is a| bg btn |
|00005a30| 22 50 75 74 20 6d 65 73 | 73 61 67 65 73 22 20 74 |"Put mes|sages" t|
|00005a40| 68 65 6e 0d 72 65 74 75 | 72 6e 20 68 69 6c 69 74 |hen.retu|rn hilit|
|00005a50| 65 20 6f 66 20 62 67 20 | 62 74 6e 20 22 50 75 74 |e of bg |btn "Put|
|00005a60| 20 4d 65 73 73 61 67 65 | 73 22 0d 65 6e 64 20 69 | Message|s".end i|
|00005a70| 66 0d 65 6e 64 20 69 66 | 0d 72 65 74 75 72 6e 20 |f.end if|.return |
|00005a80| 66 61 6c 73 65 0d 65 6e | 64 20 70 75 74 4d 65 73 |false.en|d putMes|
|00005a90| 73 61 67 65 73 0d 0d 2d | 2d 20 55 54 49 4c 49 54 |sages..-|- UTILIT|
|00005aa0| 49 45 53 0d 66 75 6e 63 | 74 69 6f 6e 20 51 20 78 |IES.func|tion Q x|
|00005ab0| 0d 2d 2d 20 71 75 6f 74 | 65 73 20 61 20 73 74 72 |.-- quot|es a str|
|00005ac0| 69 6e 67 0d 72 65 74 75 | 72 6e 20 71 75 6f 74 65 |ing.retu|rn quote|
|00005ad0| 26 78 26 71 75 6f 74 65 | 0d 65 6e 64 20 51 0d 0d |&x&quote|.end Q..|
|00005ae0| 6f 6e 20 77 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |on w.set| cursor |
|00005af0| 74 6f 20 77 61 74 63 68 | 0d 6c 6f 63 6b 20 73 63 |to watch|.lock sc|
|00005b00| 72 65 65 6e 0d 73 65 74 | 20 6c 6f 63 6b 6d 65 73 |reen.set| lockmes|
|00005b10| 73 61 67 65 73 20 74 6f | 20 74 72 75 65 0d 65 6e |sages to| true.en|
|00005b20| 64 20 77 0d 0d 66 75 6e | 63 74 69 6f 6e 20 6f 74 |d w..fun|ction ot|
|00005b30| 68 65 72 53 74 61 63 6b | 0d 72 65 74 75 72 6e 20 |herStack|.return |
|00005b40| 28 76 61 6c 75 65 20 6f | 66 20 77 6f 72 64 20 32 |(value o|f word 2|
|00005b50| 20 6f 66 20 6c 6f 6e 67 | 20 6e 61 6d 65 20 6f 66 | of long| name of|
|00005b60| 20 6d 65 20 ad 20 6c 69 | 6e 65 20 31 20 6f 66 20 | me . li|ne 1 of |
|00005b70| 74 68 65 20 73 74 61 63 | 6b 73 29 0d 65 6e 64 20 |the stac|ks).end |
|00005b80| 6f 74 68 65 72 53 74 61 | 63 6b 0d 0d 6f 6e 20 61 |otherSta|ck..on a|
|00005b90| 62 6f 72 74 50 6f 70 0d | 61 6e 73 77 65 72 20 22 |bortPop.|answer "|
|00005ba0| 48 6f 6c 64 20 64 6f 77 | 6e 20 6c 6f 6e 67 65 72 |Hold dow|n longer|
|00005bb0| 20 74 6f 20 73 65 65 20 | 74 68 65 20 6d 65 6e 75 | to see |the menu|
|00005bc0| 22 0d 65 78 69 74 20 74 | 6f 20 68 79 70 65 72 63 |".exit t|o hyperc|
|00005bd0| 61 72 64 0d 65 6e 64 20 | 61 62 6f 72 74 50 6f 70 |ard.end |abortPop|
|00005be0| 0d 0d 6f 6e 20 77 6e 72 | 0d 61 6e 73 77 65 72 20 |..on wnr|.answer |
|00005bf0| 22 57 61 69 74 20 66 6f | 72 20 6e 65 78 74 20 72 |"Wait fo|r next r|
|00005c00| 65 6c 65 61 73 65 22 20 | 77 69 74 68 20 22 53 6f |elease" |with "So|
|00005c10| 72 72 79 22 0d 65 78 69 | 74 20 74 6f 20 68 79 70 |rry".exi|t to hyp|
|00005c20| 65 72 63 61 72 64 0d 65 | 6e 64 20 77 6e 72 0d 0d |ercard.e|nd wnr..|
|00005c30| 6f 6e 20 73 74 6f 70 0d | 69 66 20 74 68 65 20 76 |on stop.|if the v|
|00005c40| 65 72 73 69 6f 6e 20 3c | 20 32 2e 31 20 74 68 65 |ersion <| 2.1 the|
|00005c50| 6e 20 70 61 73 73 20 73 | 74 6f 70 0d 69 66 20 74 |n pass s|top.if t|
|00005c60| 68 65 20 70 61 72 61 6d | 73 20 3d 20 22 73 74 6f |he param|s = "sto|
|00005c70| 70 20 75 73 69 6e 67 22 | 20 26 26 20 6c 6f 6e 67 |p using"| && long|
|00005c80| 20 6e 61 6d 65 20 6f 66 | 20 6d 65 20 61 6e 64 20 | name of| me and |
|00005c90| 6f 74 68 65 72 73 74 61 | 63 6b 28 29 20 74 68 65 |othersta|ck() the|
|00005ca0| 6e 0d 63 6c 65 61 6e 75 | 70 0d 65 6e 64 20 69 66 |n.cleanu|p.end if|
|00005cb0| 0d 70 61 73 73 20 73 74 | 6f 70 0d 65 6e 64 20 73 |.pass st|op.end s|
|00005cc0| 74 6f 70 0d 0d 6f 6e 20 | 63 6c 65 61 6e 75 70 0d |top..on |cleanup.|
|00005cd0| 67 6c 6f 62 61 6c 20 63 | 68 69 63 45 64 69 74 47 |global c|hicEditG|
|00005ce0| 6c 6f 62 2c 74 68 65 42 | 74 6e 4d 65 6e 75 2c 74 |lob,theB|tnMenu,t|
|00005cf0| 68 65 4c 6f 63 6b 4d 65 | 73 73 43 68 69 63 2c 4e |heLockMe|ssChic,N|
|00005d00| 6f 53 61 76 65 0d 69 66 | 20 74 68 65 72 65 20 69 |oSave.if| there i|
|00005d10| 73 20 61 20 77 69 6e 64 | 6f 77 20 22 43 68 69 63 |s a wind|ow "Chic|
|00005d20| 6c 65 74 74 65 20 45 64 | 69 74 6f 72 22 20 74 68 |lette Ed|itor" th|
|00005d30| 65 6e 20 63 6c 6f 73 65 | 20 77 69 6e 64 6f 77 20 |en close| window |
|00005d40| 22 43 68 69 63 6c 65 74 | 74 65 20 45 64 69 74 6f |"Chiclet|te Edito|
|00005d50| 72 22 0d 70 75 74 20 22 | 22 20 69 6e 74 6f 20 63 |r".put "|" into c|
|00005d60| 68 69 63 45 64 69 74 47 | 6c 6f 62 0d 70 75 74 20 |hicEditG|lob.put |
|00005d70| 22 22 20 69 6e 74 6f 20 | 74 68 65 42 74 6e 4d 65 |"" into |theBtnMe|
|00005d80| 6e 75 0d 70 75 74 20 22 | 22 20 69 6e 74 6f 20 74 |nu.put "|" into t|
|00005d90| 68 65 4c 6f 63 6b 4d 65 | 73 73 43 68 69 63 0d 70 |heLockMe|ssChic.p|
|00005da0| 75 74 20 22 22 20 69 6e | 74 6f 20 4e 6f 53 61 76 |ut "" in|to NoSav|
|00005db0| 65 0d 65 6e 64 20 63 6c | 65 61 6e 75 70 0d 00 63 |e.end cl|eanup..c|
|00005dc0| 6b 4d 65 73 73 43 68 69 | 63 0d 70 75 74 20 22 22 |kMessChi|c.put ""|
|00005dd0| 20 69 6e 74 6f 20 4e 6f | 53 61 76 65 0d 65 6e 64 | into No|Save.end|
|00005de0| 20 63 6c 65 61 6e 75 70 | 0d 00 0d 00 22 22 20 69 | cleanup|...."" i|
|00005df0| 6e 74 6f 20 4e 6f 53 61 | 76 65 0d 65 6e 64 20 63 |nto NoSa|ve.end c|
|00005e00| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00005e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e20| 00 00 00 00 00 00 00 00 | 00 08 a6 6f 00 03 00 1e |........|...o....|
|00005e30| 00 09 c0 cc 00 09 c9 37 | 00 09 46 3e 00 09 cb a9 |.......7|..F>....|
|00005e40| 00 09 53 9d 00 03 04 06 | 00 00 00 00 00 00 00 00 |..S.....|........|
|00005e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e70| 00 09 d5 48 00 00 00 00 | 00 00 00 00 00 00 00 00 |...H....|........|
|00005e80| 00 03 44 33 00 08 97 58 | 00 00 00 00 00 00 00 00 |..D3...X|........|
|00005e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006000| 00 00 00 80 4c 49 53 54 | 00 00 0b 1e 00 00 00 00 |....LIST|........|
|00006010| 00 00 00 01 00 00 08 00 | 00 00 00 02 00 84 00 02 |........|........|
|00006020| 00 20 00 03 c0 00 02 22 | 00 00 00 02 00 00 00 00 |. ....."|........|
|00006030| 00 00 11 06 00 02 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006080| 00 00 08 00 50 41 47 45 | 00 00 11 06 00 00 00 00 |....PAGE|........|
|00006090| 00 00 0b 1e 5c 00 02 3d | 00 00 0a 6f 60 45 b0 21 |....\..=|...o`E.!|
|000060a0| 2e 30 0c 00 07 2d 28 04 | bd e8 a3 49 e5 34 39 36 |.0...-(.|...I.496|
|000060b0| 42 8e 53 6b bd f2 3d 54 | 6c 75 78 84 18 1c f6 fc |B.Sk..=T|lux.....|
|000060c0| 82 80 a0 06 2e 66 ac b9 | e6 0a e2 06 98 d2 d7 17 |.....f..|........|
|000060d0| d6 81 fb a4 47 14 9d 3f | 44 40 c4 46 8a 4c 1c 42 |....G..?|D@.F.L.B|
|000060e0| 7f 05 e7 22 25 10 09 61 | 8e 6a 03 ae 49 24 86 74 |..."%..a|.j..I$.t|
|000060f0| 65 bd 45 0e 2e 5c c6 e4 | f1 9b 58 cc ae 9c 15 d0 |e.E..\..|..X.....|
|00006100| ee 85 8b 51 48 00 c8 00 | 26 36 38 13 af 59 00 e6 |...QH...|&68..Y..|
|00006110| 68 90 12 5d 88 97 84 04 | 4e 27 06 60 00 00 10 9d |h..]....|N'.`....|
|00006120| a0 40 00 21 23 28 04 02 | 83 19 01 45 90 00 42 02 |.@.!#(..|...E..B.|
|00006130| 49 71 41 1c 08 3a 46 6a | 14 b0 2e 02 80 49 21 8c |IqA..:Fj|.....I!.|
|00006140| 48 08 18 31 a2 00 ad a2 | 42 42 60 08 c0 ac c4 a6 |H..1....|BB`.....|
|00006150| 00 08 94 02 78 91 ba 02 | e0 80 88 08 70 40 50 84 |....x...|....p@P.|
|00006160| d2 64 08 42 5c c4 8c 09 | 20 43 25 40 84 62 04 97 |.d.B\...| C%@.b..|
|00006170| a0 a4 8a 70 d2 91 41 c6 | 62 04 86 e4 09 cb 08 0c |...p..A.|b.......|
|00006180| 88 ff 1a 20 e5 43 04 52 | c1 05 40 87 02 36 58 00 |... .C.R|..@..6X.|
|00006190| 81 08 00 22 19 02 16 50 | 01 82 81 84 03 33 06 00 |..."...P|.....3..|
|000061a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.